From 19b6a59a41656d4ab86e8a4318a53f74a1c938a8 Mon Sep 17 00:00:00 2001 From: Albert S Date: Tue, 28 Jun 2022 23:33:17 +0200 Subject: [PATCH] scripts: 5-bundle.sh: Minor improvements --- scripts/5-bundle.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/5-bundle.sh b/scripts/5-bundle.sh index f092d52..9131eaa 100755 --- a/scripts/5-bundle.sh +++ b/scripts/5-bundle.sh @@ -4,7 +4,8 @@ set -e DIRNAME="looqs-${TAG}" ARCHIVENAME="${DIRNAME}.tar.xz" -mv out ${DIRNAME} +rm -rf $DIRNAME* +cp -a out ${DIRNAME} cp src/looqs-gui ${DIRNAME} cp src/looqs ${DIRNAME} chmod 755 src/looqs-gui @@ -16,4 +17,4 @@ patchelf --set-rpath '$ORIGIN/../../' $( find "${DIRNAME}/lib/plugins/" | grep s tar cfpvJ "${DIRNAME}".tar.xz "${DIRNAME}" -gpg -b --local-user "$SIGNING_KEY_EMAIL" "$ARCHIVENAME" +gpg --batch --no-tty -b --local-user "$SIGNING_KEY_EMAIL" "$ARCHIVENAME"