gitian: fixed SC2001 regex

the `-` is not a special symbol and should not have `%` in front of it.
This commit is contained in:
willyk 2019-12-05 13:00:34 -08:00 committed by GitHub
parent cf43f3f0a8
commit c966ff14c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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