--- src/usr.bin/wmake/wmake.sh 2003/08/11 00:25:17 1.1 +++ src/usr.bin/wmake/wmake.sh 2005/09/23 00:31:37 1.2 @@ -2,7 +2,7 @@ # # $DragonFly$ # -# This script was written by Matt dillon and has been placed in the +# This script was written by Matt Dillon and has been placed in the # public domain. path=$PWD @@ -16,5 +16,6 @@ if [ "$path" = "" ]; then echo "Unable to locate Makefile.inc through parent dirs" fi -eval `cd $path; make WMAKE_ARGS="$@" -f Makefile.inc1 wmake` +escaped_args=`echo "$@" | sed -e "s/'/\\'/"` +eval `cd $path; make WMAKE_ARGS="'$escaped_args'" -f Makefile.inc1 wmake`