Parcourir la source

change string for MacOSX

edA-qa mort-ora-y il y a 13 ans
Parent
commit
1c9e19d66a
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      gameplay-newproject.sh

+ 3 - 3
gameplay-newproject.sh

@@ -9,7 +9,7 @@
 # as input parameters.
 #
 # IMPORTANT: This script must be run from the root of the gameplay
-# source tree.
+# source tree (on Linux can run from anywhere)
 #
 # ********************************************************************
 
@@ -31,7 +31,7 @@ if [[ "${OSTYPE}" == linux* ]]; then
 else
     GAME_PLAY_PATH=`pwd`
     
-    # the orignal version (which platform needs this?)
+    # the orignal version (MacOSX probably)
     function replace()
     {
         sed -i "" 's*$1*$2*g' $3
@@ -284,7 +284,7 @@ cp "${TEMPLATE_PATH}/game.config" "$projPath/game.config"
 replace TEMPLATE_TITLE "$title" "$projPath/game.config"
 
 
-if [[ "${OSTYPE}" == cygwin* ]]; then
+if [[ "${OSTYPE}" == darwin* ]]; then
     # Open the new project folder
     open $projPath
 fi