File tree 5 files changed +6
-5
lines changed
contrib/gitian-descriptors
5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,8 @@ script: |
144
144
CONFIG_SITE=${BASEPREFIX}/$(echo "${HOSTS}" | awk '{print $1;}')/share/config.site ./configure --prefix=/
145
145
make dist
146
146
SOURCEDIST=$(echo bitcoin-*.tar.gz)
147
- DISTNAME=$(echo ${SOURCEDIST} | sed 's/.tar.*//')
147
+ DISTNAME=${SOURCEDIST/%.tar.gz}
148
+
148
149
# Correct tar file order
149
150
mkdir -p temp
150
151
pushd temp
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ script: |
107
107
CONFIG_SITE=${BASEPREFIX}/$(echo "${HOSTS}" | awk '{print $1;}')/share/config.site ./configure --prefix=/
108
108
make dist
109
109
SOURCEDIST=$(echo bitcoin-*.tar.gz)
110
- DISTNAME=$(echo $ {SOURCEDIST} | sed 's/ .tar.*//')
110
+ DISTNAME=${SOURCEDIST/% .tar.gz}
111
111
112
112
# Correct tar file order
113
113
mkdir -p temp
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ script: |
37
37
make
38
38
find ${UNSIGNED_DIR} -name "*-unsigned.exe" | while read i; do
39
39
INFILE="$(basename "${i}")"
40
- OUTFILE="$(echo "$ {INFILE}" | sed s/ -unsigned//) "
40
+ OUTFILE="${INFILE/% -unsigned} "
41
41
./osslsigncode attach-signature -in "${i}" -out "${OUTDIR}/${OUTFILE}" -sigin "${SIGDIR}/${INFILE}.pem"
42
42
done
Original file line number Diff line number Diff line change @@ -114,7 +114,8 @@ script: |
114
114
CONFIG_SITE=${BASEPREFIX}/$(echo "${HOSTS}" | awk '{print $1;}')/share/config.site ./configure --prefix=/
115
115
make dist
116
116
SOURCEDIST=$(echo bitcoin-*.tar.gz)
117
- DISTNAME=$(echo ${SOURCEDIST} | sed 's/.tar.*//')
117
+ DISTNAME=${SOURCEDIST/%.tar.gz}
118
+
118
119
# Correct tar file order
119
120
mkdir -p temp
120
121
pushd temp
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ disabled=(
23
23
SC2162 # read without -r will mangle backslashes.
24
24
)
25
25
disabled_gitian=(
26
- SC2001 # See if you can use ${variable//search/replace} instead.
27
26
SC2094 # Make sure not to read and write the same file in the same pipeline.
28
27
SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
29
28
SC2230 # which is non-standard. Use builtin 'command -v' instead.
You can’t perform that action at this time.
0 commit comments