Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

70df12 Followup to last commit.

Authored and Committed by Lucio Andrés Illanes Albornoz (arab, vxp) 8 years ago
1 file changed. 4 lines added. 4 lines removed.
    Followup to last commit.
    
        
file modified
+4 -4
build.sh CHANGED
@@ -122,9 +122,9 @@ if [ $(( ${BUILD_NFINI} + ${BUILD_NSKIP} )) -ge 0 ] \
122
122
-mindepth 1 -maxdepth 2 -type d -not -path ./native) \
123
123
"Create \`Midipix mintty shell' shortcut.vbs" midipix.sh;
124
124
log_msg info "Finished building distribution tarball.";
125
- if [ -x $(which gpg 2>/dev/null) -a -n "${TARBALL_SRC_SIGN_GPG_KEY}" ] &&\
125
+ if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SRC_SIGN_GPG_KEY}" ] &&\
126
126
gpg --list-keys "${TARBALL_SRC_SIGN_GPG_KEY}" >/dev/null 2>&1; then
127
- gpg --armor --passphrase-file /dev/null \
127
+ gpg --passphrase-file /dev/null \
128
128
--local-user "${TARBALL_SRC_SIGN_GPG_KEY}" --sign \
129
129
${TARBALL_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.xz;
130
130
fi;
@@ -135,9 +135,9 @@ if [ $(( ${BUILD_NFINI} + ${BUILD_NSKIP} )) -ge 0 ] \
135
135
$(find tmp -mindepth 1 -maxdepth 1 -type d \
136
136
\( -name \*-native-\* -or -name \*-cross-\* \));
137
137
log_msg info "Finished building source tarball.";
138
- if [ -x $(which gpg 2>/dev/null) -a -n "${TARBALL_SIGN_GPG_KEY}" ] &&\
138
+ if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SIGN_GPG_KEY}" ] &&\
139
139
gpg --list-keys "${TARBALL_SIGN_GPG_KEY}" >/dev/null 2>&1; then
140
- gpg --armor --passphrase-file /dev/null \
140
+ gpg --passphrase-file /dev/null \
141
141
--local-user "${TARBALL_SIGN_GPG_KEY}" --sign \
142
142
${TARBALL_SRC_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.xz;
143
143
fi;