fix: Use ${srcdir}

This commit is contained in:
Sayantan Santra 2023-09-12 16:49:37 -05:00
parent e34442e877
commit 4ffb9776ae
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -24,7 +24,6 @@ package() {
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-${version}-Linux.rpm" -o ${name}.rpm
# Build package
echo Creating the package
ls
cd ${pkgdir}
rpm2cpio ${name}.rpm | zstd -d | cpio -idmv
rpm2cpio ${srcdir}/${name}.rpm | zstd -d | cpio -idmv
}