summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-05-27 10:03:34 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-05-27 10:03:34 +0000
commit70df12522e8fd2a423fd90f00d612995bcb53b72 (patch)
tree3fcee4ed8a256d33b8042130548d5e8b669d9ae5 /build.sh
parentd3b3544c0b92c5c0901618ac92a3972f6feb5d3d (diff)
downloadmidipix_build-70df12522e8fd2a423fd90f00d612995bcb53b72.tar.bz2
midipix_build-70df12522e8fd2a423fd90f00d612995bcb53b72.tar.xz
Followup to last commit.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 736b4d25..bc310c52 100755
--- a/build.sh
+++ b/build.sh
@@ -122,9 +122,9 @@ if [ $(( ${BUILD_NFINI} + ${BUILD_NSKIP} )) -ge 0 ] \
-mindepth 1 -maxdepth 2 -type d -not -path ./native) \
"Create \`Midipix mintty shell' shortcut.vbs" midipix.sh;
log_msg info "Finished building distribution tarball.";
- if [ -x $(which gpg 2>/dev/null) -a -n "${TARBALL_SRC_SIGN_GPG_KEY}" ] &&\
+ if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SRC_SIGN_GPG_KEY}" ] &&\
gpg --list-keys "${TARBALL_SRC_SIGN_GPG_KEY}" >/dev/null 2>&1; then
- gpg --armor --passphrase-file /dev/null \
+ gpg --passphrase-file /dev/null \
--local-user "${TARBALL_SRC_SIGN_GPG_KEY}" --sign \
${TARBALL_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.xz;
fi;
@@ -135,9 +135,9 @@ if [ $(( ${BUILD_NFINI} + ${BUILD_NSKIP} )) -ge 0 ] \
$(find tmp -mindepth 1 -maxdepth 1 -type d \
\( -name \*-native-\* -or -name \*-cross-\* \));
log_msg info "Finished building source tarball.";
- if [ -x $(which gpg 2>/dev/null) -a -n "${TARBALL_SIGN_GPG_KEY}" ] &&\
+ if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SIGN_GPG_KEY}" ] &&\
gpg --list-keys "${TARBALL_SIGN_GPG_KEY}" >/dev/null 2>&1; then
- gpg --armor --passphrase-file /dev/null \
+ gpg --passphrase-file /dev/null \
--local-user "${TARBALL_SIGN_GPG_KEY}" --sign \
${TARBALL_SRC_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.xz;
fi;