mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
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 New Issue
Block a user