File tree Expand file tree Collapse file tree 6 files changed +11
-12
lines changed
contrib/gitian-descriptors Expand file tree Collapse file tree 6 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ script: |
51
51
export QT_RCC_TEST=1
52
52
export QT_RCC_SOURCE_DATE_OVERRIDE=1
53
53
export TZ="UTC"
54
- export BUILD_DIR=$(pwd)
54
+ export BUILD_DIR="$PWD"
55
55
mkdir -p ${WRAP_DIR}
56
56
if test -n "$GBUILD_CACHE_ENABLED"; then
57
57
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
@@ -122,7 +122,7 @@ script: |
122
122
done
123
123
124
124
cd bitcoin
125
- BASEPREFIX=$(pwd) /depends
125
+ BASEPREFIX="${PWD} /depends"
126
126
# Build dependencies for each host
127
127
for i in $HOSTS; do
128
128
EXTRA_INCLUDES="$EXTRA_INCLUDES_BASE/$i"
@@ -161,7 +161,7 @@ script: |
161
161
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
162
162
mkdir -p distsrc-${i}
163
163
cd distsrc-${i}
164
- INSTALLPATH=$(pwd) /installed/${DISTNAME}
164
+ INSTALLPATH="${PWD} /installed/${DISTNAME}"
165
165
mkdir -p ${INSTALLPATH}
166
166
tar --strip-components=1 -xf ../$SOURCEDIST
167
167
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ script: |
17
17
18
18
WRAP_DIR=$HOME/wrapped
19
19
mkdir -p ${WRAP_DIR}
20
- export PATH=$(pwd) :$PATH
20
+ export PATH="$PWD" :$PATH
21
21
FAKETIME_PROGS="dmg genisoimage"
22
22
23
23
# Create global faketime wrappers
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ script: |
45
45
export QT_RCC_TEST=1
46
46
export QT_RCC_SOURCE_DATE_OVERRIDE=1
47
47
export TZ="UTC"
48
- export BUILD_DIR=$(pwd)
48
+ export BUILD_DIR="$PWD"
49
49
mkdir -p ${WRAP_DIR}
50
50
if test -n "$GBUILD_CACHE_ENABLED"; then
51
51
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
@@ -86,7 +86,7 @@ script: |
86
86
export PATH=${WRAP_DIR}:${PATH}
87
87
88
88
cd bitcoin
89
- BASEPREFIX=$(pwd) /depends
89
+ BASEPREFIX="${PWD} /depends"
90
90
91
91
mkdir -p ${BASEPREFIX}/SDKs
92
92
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.11.sdk.tar.gz
@@ -125,7 +125,7 @@ script: |
125
125
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
126
126
mkdir -p distsrc-${i}
127
127
cd distsrc-${i}
128
- INSTALLPATH=$(pwd) /installed/${DISTNAME}
128
+ INSTALLPATH="${PWD} /installed/${DISTNAME}"
129
129
mkdir -p ${INSTALLPATH}
130
130
tar --strip-components=1 -xf ../$SOURCEDIST
131
131
Original file line number Diff line number Diff line change 19
19
script : |
20
20
set -e -o pipefail
21
21
22
- BUILD_DIR=$(pwd)
22
+ BUILD_DIR="$PWD"
23
23
SIGDIR=${BUILD_DIR}/signature/win
24
24
UNSIGNED_DIR=${BUILD_DIR}/unsigned
25
25
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ script: |
40
40
export QT_RCC_TEST=1
41
41
export QT_RCC_SOURCE_DATE_OVERRIDE=1
42
42
export TZ="UTC"
43
- export BUILD_DIR=$(pwd)
43
+ export BUILD_DIR="$PWD"
44
44
mkdir -p ${WRAP_DIR}
45
45
if test -n "$GBUILD_CACHE_ENABLED"; then
46
46
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
@@ -96,7 +96,7 @@ script: |
96
96
export PATH=${WRAP_DIR}:${PATH}
97
97
98
98
cd bitcoin
99
- BASEPREFIX=$(pwd) /depends
99
+ BASEPREFIX="${PWD} /depends"
100
100
# Build dependencies for each host
101
101
for i in $HOSTS; do
102
102
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}"
@@ -131,7 +131,7 @@ script: |
131
131
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
132
132
mkdir -p distsrc-${i}
133
133
cd distsrc-${i}
134
- INSTALLPATH=$(pwd) /installed/${DISTNAME}
134
+ INSTALLPATH="${PWD} /installed/${DISTNAME}"
135
135
mkdir -p ${INSTALLPATH}
136
136
tar --strip-components=1 -xf ../$SOURCEDIST
137
137
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ disabled_gitian=(
26
26
SC2001 # See if you can use ${variable//search/replace} instead.
27
27
SC2094 # Make sure not to read and write the same file in the same pipeline.
28
28
SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
29
- SC2155 # Declare and assign separately to avoid masking return values.
30
29
SC2230 # which is non-standard. Use builtin 'command -v' instead.
31
30
)
32
31
You can’t perform that action at this time.
0 commit comments