Browse code

fix wrong git clone statement now (sigh)

Nat! authored on 24/11/2013 16:29:36
Showing 1 changed files
... ...
@@ -345,7 +345,7 @@
345 345
 			);
346 346
 			runOnlyForDeploymentPostprocessing = 0;
347 347
 			shellPath = /bin/sh;
348
-			shellScript = "old=`pwd`\n\nif [ ! -d \"$PROJECT_DIR\"/../MulleScion ]\nthen\n   cd \"$PROJECT_DIR\"/..\n   git clone \"https://github.com/mulle-nat/MulleScionTemplates.git\" MulleScion\n   cd \"$old\"\nfi\n\nexe=\"\"\n\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  cd \"$PROJECT_DIR\"/../MulleScion\n\n  xcodebuild -scheme mulle-scion -configuration Debug clean > /dev/null\n  exe=`xcodebuild -scheme mulle-scion -configuration Debug build | egrep '/mulle-scion$' | sed 's/^.*-o \\(.*\\)$/\\1/'`\n  cd \"$old\"\n#   xcodebuild -scheme mulle-scion -configuration Release\nfi\n\n# now maybe link has magically reappeared ?\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  # some lame heuristics to find product\n  if [ ! -x \"$exe\" ]\n  then\n     echo \"failed to locate mulle-scion binary\" >&2\n     exit 1\n  fi\n\n  # will fail if xcode build doesn't use absolute paths\n\n  cd \"$PROJECT_DIR\"/src/Resources\n  pwd=`pwd`\n  relpath=`python -c \"import os.path; print os.path.relpath('$exe', '$pwd')\"`\n  ln -s -f \"$relpath\"\n  cd \"$old\"\nfi\n\n\n# could optionally also \"update\" tidy\n\n";
348
+			shellScript = "old=`pwd`\n\nif [ ! -d \"$PROJECT_DIR\"/../MulleScion ]\nthen\n   cd \"$PROJECT_DIR\"/..\n   git clone \"https://github.com/mulle-nat/MulleScion.git\" MulleScion\n   cd \"$old\"\nfi\n\nexe=\"\"\n\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  cd \"$PROJECT_DIR\"/../MulleScion\n\n  xcodebuild -scheme mulle-scion -configuration Debug clean > /dev/null\n  exe=`xcodebuild -scheme mulle-scion -configuration Debug build | egrep '/mulle-scion$' | sed 's/^.*-o \\(.*\\)$/\\1/'`\n  cd \"$old\"\n#   xcodebuild -scheme mulle-scion -configuration Release\nfi\n\n# now maybe link has magically reappeared ?\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  # some lame heuristics to find product\n  if [ ! -x \"$exe\" ]\n  then\n     echo \"failed to locate mulle-scion binary\" >&2\n     exit 1\n  fi\n\n  # will fail if xcode build doesn't use absolute paths\n\n  cd \"$PROJECT_DIR\"/src/Resources\n  pwd=`pwd`\n  relpath=`python -c \"import os.path; print os.path.relpath('$exe', '$pwd')\"`\n  ln -s -f \"$relpath\"\n  cd \"$old\"\nfi\n\n\n# could optionally also \"update\" tidy\n\n";
349 349
 			showEnvVarsInLog = 0;
350 350
 		};
351 351
 /* End PBXShellScriptBuildPhase section */