If the user has some other login shell (e.g., ksh), the bashisms in gitian-build.sh don't work so well. #! /bin/bash fixes this.
Ensure gitian-build.sh uses bash #13320
pull jhfrontz wants to merge 1 commits into bitcoin:master from jhfrontz:patch-1 changing 1 files +1 −0-
jhfrontz commented at 7:34 PM on May 25, 2018: contributor
-
410a4e47d5
Ensure gitian-build.sh uses bash
If the user has some other login shell (e.g., ksh), the bashisms in gitian-build.sh don't work so well.
-
ken2812221 commented at 10:04 PM on May 25, 2018: contributor
utACK 410a4e47
-
in contrib/gitian-build.sh:1 in 410a4e47d5
0 | @@ -1,3 +1,4 @@ 1 | +#! /bin/bash
Empact commented at 12:18 AM on May 26, 2018:nit: the space here is atypical fyi
kristapsk commented at 12:25 AM on May 26, 2018: contributorutACK 410a4e47d5b5e2e2e1a46971f248e38af4ba9d2f
fanquake added the label Scripts and tools on May 26, 2018achow101 commented at 4:33 AM on May 26, 2018: memberutACK 410a4e47d5b5e2e2e1a46971f248e38af4ba9d2f
laanwj commented at 1:19 PM on May 28, 2018: memberutACK I think we should mention this in a coding standard, if we had one for shell scripts: if bash-isms are used, explicitly use
/bin/bashas interpreter.fanquake commented at 1:32 PM on May 29, 2018: memberutACK 410a4e4
laanwj commented at 1:58 PM on May 29, 2018: memberMerging this with the redundant space removed. 410a4e47d5b5e2e2e1a46971f248e38af4ba9d2f → f44a0ebfff2e11c922bba577d64f115c566131c4
laanwj referenced this in commit e08c130c25 on May 29, 2018fanquake commented at 2:01 PM on May 29, 2018: memberfanquake closed this on May 29, 2018MarcoFalke locked this on Sep 8, 2021Labels
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 21:15 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 21:15 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me