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
1 changed files with 1 additions and 2 deletions

View File

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