From f38d5b8ab92d5076d5e667a73e9e13b3588c83ee Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 18 May 2015 20:43:34 +0200 Subject: [PATCH] Fix stripped double quotes Fix for calling programs with double quotes `"` within arguments, which would get stripped. --- pricing.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pricing.sh b/pricing.sh index 12f830c..6fe4a6e 100755 --- a/pricing.sh +++ b/pricing.sh @@ -23,7 +23,6 @@ else fi #print pricing if requested -ARGS="$@" for var in "$@" do if [ "$var" = "--pricing" ] @@ -55,5 +54,5 @@ NEWCOUNT=$(( $USECOUNT + 1 )) echo "$NEWCOUNT" > "$HOME/.gnu-pricing/$THISCMD.usage" #run the command as normal -$THISCMD $ARGS +$THISCMD "$@"