fix bugs
This commit is contained in:
parent
cb55ae44e1
commit
80bd1e1c96
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,7 @@ assert_file build.sh
|
||||||
srcdir="$CWD/src"
|
srcdir="$CWD/src"
|
||||||
outdir="$CWD/out"
|
outdir="$CWD/out"
|
||||||
pkgdir="$outdir/$pkgname-$pkgver"
|
pkgdir="$outdir/$pkgname-$pkgver"
|
||||||
pkgfile="$outdir/$pkgname-$pkgver.tar.zst"
|
pkgfile="$outdir/$pkgname.$pkgver.tar.zst"
|
||||||
|
|
||||||
genmeta() {
|
genmeta() {
|
||||||
echo "[pkg]"
|
echo "[pkg]"
|
||||||
|
@ -107,5 +107,7 @@ else
|
||||||
|
|
||||||
genmeta > "$pkgmetafile"
|
genmeta > "$pkgmetafile"
|
||||||
|
|
||||||
|
cd "$pkgdir"
|
||||||
|
|
||||||
tar -I zstd -cf "$pkgfile" *
|
tar -I zstd -cf "$pkgfile" *
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue