mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-22 09:20:58 +03:00
nixos-rebuild: Handle $SHELL not being bash
This commit is contained in:
parent
da774bced5
commit
5c62d3d26b
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#! @shell@
|
#! @shell@
|
||||||
|
|
||||||
|
if [ -x "@shell@" ]; then export SHELL="@shell@"; fi;
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
showSyntax() {
|
showSyntax() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue