From 1a6ab7a101b6ee73a569c4790bbcd5ae4b655ea6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 25 Sep 2015 13:04:36 +0200 Subject: Default command setting simplified --- nix-script-switch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nix-script-switch.sh') diff --git a/nix-script-switch.sh b/nix-script-switch.sh index 3f34ac1..91ca766 100755 --- a/nix-script-switch.sh +++ b/nix-script-switch.sh @@ -64,7 +64,7 @@ $(help_end "${BASH_SOURCE[0]}") EOS } -COMMAND= +COMMAND=switch ARGS= WD=$RC_CONFIG TAG_NAME= @@ -165,7 +165,6 @@ tag_nixpkgs() { stderr "Won't do anything" && exit 1 [[ ! -d "$WD" ]] && stderr "No directory: $WD" && exit 1 -[[ -z "$COMMAND" ]] && COMMAND="switch" if [[ -z "$DONT_BUILD" ]] then -- cgit v1.2.3