Forráskód Böngészése

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 éve
szülő
commit
71aa3f0471
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      gameplay-newproject.sh

+ 1 - 1
gameplay-newproject.sh

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