summaryrefslogtreecommitdiffstats
path: root/nix-script-switch.sh
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-11 12:36:36 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-07-11 12:36:36 +0200
commit8caba140d1249051101ae2f9dbb505fc5a949118 (patch)
tree7210ea514ef6409ec96c85669d6e6071f8484a53 /nix-script-switch.sh
parent783603acfb01a002310db42b928a17c8f4d77fb7 (diff)
Hotfix: Missing working directory in git command
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-xnix-script-switch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index 085c237..9339cb7 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -110,7 +110,7 @@ then
fi
fi
- __git $GIT_COMMAND "$TAG_NAME"
+ __git "$WD" $GIT_COMMAND "$TAG_NAME"
else
stderr "Switching failed. Won't executing any further commands."