diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-09-25 13:04:36 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-10-04 14:08:59 +0200 |
commit | 1a6ab7a101b6ee73a569c4790bbcd5ae4b655ea6 (patch) | |
tree | 7287a52b110bad29e299b03cc75bb4f9a0a011f3 | |
parent | c87691ea41132ef8e4a37f0e2cc4d3d5ace9a4d8 (diff) |
Default command setting simplified
-rwxr-xr-x | nix-script-switch.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |