Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 139e574

Browse files
authored
Merge branch 'master' into dmius-result-errors
2 parents c062b01 + 9761f98 commit 139e574

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

nancy

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ esac
4343

4444
while [ -n "$1" ]
4545
do
46+
if [ ${1%"${1#??}"} = '--' ]; then
4647
cmd="$cmd $1"
47-
shift
48+
else
49+
cmd="$cmd \"$1\""
50+
fi
51+
shift
4852
done
4953

5054
echo "CMD: $cmd"
5155

52-
${cmd}
56+
eval $cmd
5357

0 commit comments

Comments
 (0)