aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors
diff options
context:
space:
mode:
authorwillyk <wko@blockchainfoundry.co>2019-12-05 13:00:34 -0800
committerGitHub <noreply@github.com>2019-12-05 13:00:34 -0800
commitc966ff14c77870378847b9e6063b9671739ddc1f (patch)
tree0fa0be0f283bbacb3dca8e5deac2b4614d5e4cc3 /contrib/gitian-descriptors
parentcf43f3f0a8ffb9006c799004a441776c299174f4 (diff)
gitian: fixed SC2001 regex
the `-` is not a special symbol and should not have `%` in front of it.
Diffstat (limited to 'contrib/gitian-descriptors')
-rw-r--r--contrib/gitian-descriptors/gitian-win-signer.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/gitian-win-signer.yml b/contrib/gitian-descriptors/gitian-win-signer.yml
index 6a52db1f9f..70b7bb111d 100644
--- a/contrib/gitian-descriptors/gitian-win-signer.yml
+++ b/contrib/gitian-descriptors/gitian-win-signer.yml
@@ -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