Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Fixed #695: applied quotes around bash args, consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Jun 12, 2017
1 parent 0c8ea68 commit 2160394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ml
Expand Up @@ -31,7 +31,7 @@ usage()
use --force to force installation into an existing directory\n"
}

PARAMS=("${@}")
PARAMS=("$@")

if [ "$1" == 'new' ]
then
Expand Down Expand Up @@ -115,7 +115,7 @@ then
printf "\nNo initial source code is provided for non-MVC apps. You can capture code from a REST application, or add your own code.\n"
fi

./ml init ${app_name} ${@} || exit 1
./ml init ${app_name} "$@" || exit 1
popd > /dev/null || exit 1
printf " done\n"
if [ -e $app_name ]
Expand Down Expand Up @@ -155,7 +155,7 @@ then
else
if [ -e deploy/lib/ml.rb ]
then
ruby -I deploy -I deploy/lib deploy/lib/ml.rb $* || exit $?
ruby -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit $?
else
printf "\nERROR: You must run this command inside a valid Roxy Project. Use 'ml new' to create a project.\n\n"
usage
Expand Down

0 comments on commit 2160394

Please sign in to comment.