Permalink
Browse files

fixing shell script path-quoting issues

  • Loading branch information...
1 parent 372da0b commit be48019d740c9cee20d22c8b64a9a59b4733c01a @ilg ilg committed Jul 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Other Sources/gentramp.sh
  2. +1 −1 blockimp.xcodeproj/project.pbxproj
@@ -40,7 +40,7 @@ trampoline_prefix () {
}
# Import the trampoline definition
-. ${INPUT_FILE_PATH}
+. "${INPUT_FILE_PATH}"
check_required () {
local name=$1
@@ -111,7 +111,7 @@
"${DERIVED_FILE_DIR}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.h",
"${DERIVED_FILE_DIR}/${CURRENT_ARCH}/${INPUT_FILE_BASE}_config.c",
);
- script = "OUTPUT_DIR=\"${DERIVED_FILE_DIR}/${CURRENT_ARCH}/\"\nmkdir -p \"${OUTPUT_DIR}\"\n\npushd `dirname ${INPUT_FILE_PATH}` >/dev/null\n\"${SRCROOT}/Other Sources/gentramp.sh\" \"${OUTPUT_DIR}\"\npopd >/dev/null";
+ script = "OUTPUT_DIR=\"${DERIVED_FILE_DIR}/${CURRENT_ARCH}/\"\nmkdir -p \"${OUTPUT_DIR}\"\n\npushd \"$(dirname \"${INPUT_FILE_PATH}\")\" >/dev/null\n\"${SRCROOT}/Other Sources/gentramp.sh\" \"${OUTPUT_DIR}\"\npopd >/dev/null";
};
05F56A071352CAB1003D62C7 /* PBXBuildRule */ = {
isa = PBXBuildRule;

0 comments on commit be48019

Please sign in to comment.