Skip to content

Commit cca1c8c

Browse files
committed
Merge #8194: [gitian] set correct PATH for wrappers
fa61756 [gitian] set correct PATH for wrappers (MarcoFalke)
2 parents 8c1d5eb + fa61756 commit cca1c8c

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ script: |
8484
done
8585
}
8686
87-
export PATH=${WRAP_DIR}:${PATH}
88-
8987
# Faketime for depends so intermediate results are comparable
88+
export PATH_orig=${PATH}
9089
create_global_faketime_wrappers "2000-01-01 12:00:00"
9190
create_per-host_faketime_wrappers "2000-01-01 12:00:00"
91+
export PATH=${WRAP_DIR}:${PATH}
9292
9393
cd bitcoin
9494
BASEPREFIX=`pwd`/depends
@@ -98,8 +98,10 @@ script: |
9898
done
9999
100100
# Faketime for binaries
101+
export PATH=${PATH_orig}
101102
create_global_faketime_wrappers "${REFERENCE_DATETIME}"
102103
create_per-host_faketime_wrappers "${REFERENCE_DATETIME}"
104+
export PATH=${WRAP_DIR}:${PATH}
103105
104106
# Create the release tarball using (arbitrarily) the first host
105107
./autogen.sh

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ script: |
7777
done
7878
}
7979
80-
export PATH=${WRAP_DIR}:${PATH}
81-
8280
# Faketime for depends so intermediate results are comparable
81+
export PATH_orig=${PATH}
8382
create_global_faketime_wrappers "2000-01-01 12:00:00"
8483
create_per-host_faketime_wrappers "2000-01-01 12:00:00"
84+
export PATH=${WRAP_DIR}:${PATH}
8585
8686
cd bitcoin
8787
BASEPREFIX=`pwd`/depends
@@ -95,8 +95,10 @@ script: |
9595
done
9696
9797
# Faketime for binaries
98+
export PATH=${PATH_orig}
9899
create_global_faketime_wrappers "${REFERENCE_DATETIME}"
99100
create_per-host_faketime_wrappers "${REFERENCE_DATETIME}"
101+
export PATH=${WRAP_DIR}:${PATH}
100102
101103
# Create the release tarball using (arbitrarily) the first host
102104
./autogen.sh

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ script: |
9494
done
9595
}
9696
97-
export PATH=${WRAP_DIR}:${PATH}
98-
9997
# Faketime for depends so intermediate results are comparable
98+
export PATH_orig=${PATH}
10099
create_global_faketime_wrappers "2000-01-01 12:00:00"
101100
create_per-host_faketime_wrappers "2000-01-01 12:00:00"
102101
create_per-host_linker_wrapper "2000-01-01 12:00:00"
102+
export PATH=${WRAP_DIR}:${PATH}
103103
104104
cd bitcoin
105105
BASEPREFIX=`pwd`/depends
@@ -109,9 +109,11 @@ script: |
109109
done
110110
111111
# Faketime for binaries
112+
export PATH=${PATH_orig}
112113
create_global_faketime_wrappers "${REFERENCE_DATETIME}"
113114
create_per-host_faketime_wrappers "${REFERENCE_DATETIME}"
114115
create_per-host_linker_wrapper "${REFERENCE_DATETIME}"
116+
export PATH=${WRAP_DIR}:${PATH}
115117
116118
# Create the release tarball using (arbitrarily) the first host
117119
./autogen.sh

0 commit comments

Comments
 (0)