forked from mirrors/nixpkgs
nixos-rebuild: Handle $SHELL not being bash
This commit is contained in:
parent
da774bced5
commit
5c62d3d26b
|
@ -1,5 +1,7 @@
|
|||
#! @shell@
|
||||
|
||||
if [ -x "@shell@" ]; then export SHELL="@shell@"; fi;
|
||||
|
||||
set -e
|
||||
|
||||
showSyntax() {
|
||||
|
|
Loading…
Reference in a new issue