aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-22 02:33:14 +0800
committerKunoiSayami <[email protected]>2021-10-22 02:33:14 +0800
commit7f3ae3f310b0ac811cc2acde3f9efdc797b7a6c9 (patch)
treeb65b38743ffea24ca7070ee964ec6f6031c89862
parentee6e36e24da8a5d2f937c671402f32cdaf92376c (diff)
feat(script): Add sign flag for makepkg
Signed-off-by: KunoiSayami <[email protected]>
-rwxr-xr-xbuild_all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_all.sh b/build_all.sh
index 432b10f..c309a11 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -8,7 +8,7 @@ pushd kunoisayami
for folder in */ ; do
PACKAGE_NAME=$(printf $folder | sed 's/.$//')
pushd "$folder"
- SRCPKGDEST=$SRCDEST SRCDEST=$SRCDEST PKGDEST=$PKGDEST makepkg --clean
+ SRCPKGDEST=$SRCDEST SRCDEST=$SRCDEST PKGDEST=$PKGDEST makepkg --clean --sign
if [ $? == 0 ]; then
echo "$PACKAGE_NAME" >> "$REPO_PENDING"
fi
@@ -17,7 +17,7 @@ for folder in */ ; do
done
popd
while read PACKAGE_NAME; do
- LATEST=$(ls -t "$PKGDEST/$PACKAGE_NAME"* | head -n 1 | cut -d' ' -f1)
+ LATEST=$(ls -t "$PKGDEST/$PACKAGE_NAME"* | grep -v ".sig" | head -n 1 | cut -d' ' -f1)
repo-add "$REPO_DEST" "$LATEST" -s -v -R
done < "$REPO_PENDING"
unset PACKAGE_NAME