Skip to content

Commit fa61756

Browse files
author
MarcoFalke
committed
[gitian] set correct PATH for wrappers
1 parent 3e4cf8f commit fa61756

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
@@ -68,11 +68,11 @@ script: |
6868
done
6969
}
7070
71-
export PATH=${WRAP_DIR}:${PATH}
72-
7371
# Faketime for depends so intermediate results are comparable
72+
export PATH_orig=${PATH}
7473
create_global_faketime_wrappers "2000-01-01 12:00:00"
7574
create_per-host_faketime_wrappers "2000-01-01 12:00:00"
75+
export PATH=${WRAP_DIR}:${PATH}
7676
7777
cd bitcoin
7878
BASEPREFIX=`pwd`/depends
@@ -82,8 +82,10 @@ script: |
8282
done
8383
8484
# Faketime for binaries
85+
export PATH=${PATH_orig}
8586
create_global_faketime_wrappers "${REFERENCE_DATETIME}"
8687
create_per-host_faketime_wrappers "${REFERENCE_DATETIME}"
88+
export PATH=${WRAP_DIR}:${PATH}
8789
8890
# Create the release tarball using (arbitrarily) the first host
8991
./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)