diff options
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-x | nix-script-switch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh index ae1bd93..6353280 100755 --- a/nix-script-switch.sh +++ b/nix-script-switch.sh @@ -59,7 +59,7 @@ do esac done -ARGS=$(echo $* | sed -r 's/(.*)\-\-(.*)/\2/') +ARGS=$(echo $* | sed -r 's/(.*)(\-\-(.*)|$)/\2/') stdout "ARGS = $ARGS" if [[ -z "$WD" ]] |