Skip to content

Commit c966ff1

Browse files
authored
gitian: fixed SC2001 regex
the `-` is not a special symbol and should not have `%` in front of it.
1 parent cf43f3f commit c966ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/gitian-descriptors/gitian-win-signer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ script: |
3636
make
3737
find ${UNSIGNED_DIR} -name "*-unsigned.exe" | while read i; do
3838
INFILE="$(basename "${i}")"
39-
OUTFILE="${INFILE/%-unsigned}"
39+
OUTFILE="${INFILE/-unsigned}"
4040
./osslsigncode attach-signature -in "${i}" -out "${OUTDIR}/${OUTFILE}" -sigin "${SIGDIR}/${INFILE}.pem"
4141
done

0 commit comments

Comments
 (0)