mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 22:38:36 -06:00
fix: Use ${srcdir}
This commit is contained in:
parent
e34442e877
commit
4ffb9776ae
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue