gitian: fixed SC2001 regex

the `-` is not a special symbol and should not have `%` in front of it.
pull/764/head
willyk 5 years ago committed by GitHub
parent cf43f3f0a8
commit c966ff14c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,6 @@ script: |
make make
find ${UNSIGNED_DIR} -name "*-unsigned.exe" | while read i; do find ${UNSIGNED_DIR} -name "*-unsigned.exe" | while read i; do
INFILE="$(basename "${i}")" INFILE="$(basename "${i}")"
OUTFILE="${INFILE/%-unsigned}" OUTFILE="${INFILE/-unsigned}"
./osslsigncode attach-signature -in "${i}" -out "${OUTDIR}/${OUTFILE}" -sigin "${SIGDIR}/${INFILE}.pem" ./osslsigncode attach-signature -in "${i}" -out "${OUTDIR}/${OUTFILE}" -sigin "${SIGDIR}/${INFILE}.pem"
done done

Loading…
Cancel
Save