Browse Source

Fixes #286. Missing slash in computed relative path for any new project that is not under GamePlay. Tested fixed for a new project not under GamePlay, specified both relative and absolute. Tested no regression for a new project that is under GamePlay.

Ken Whatmough 13 years ago
parent
commit
71aa3f0471
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay-newproject.sh

+ 1 - 1
gameplay-newproject.sh

@@ -151,7 +151,7 @@ while [ "${gpPathAbs#$common_path}" = "${gpPathAbs}" ]; do
 		back="../${back}"
 	fi
 done
-gpPath=${back}${gpPathAbs#$common_path/}
+gpPath=${back}/${gpPathAbs#$common_path/}
 if [[ ${gpPathAbs} == ${common_path} ]]; then
 	gpPath=${back}
 fi