Commit 0ebd2ebc authored by Keith Smiley's avatar Keith Smiley Committed by Samuel Giddins

Add set -u to frameworks and resources copy scripts

This adds `set -u` to both the frameworks and resources copy shell
scripts. This means that if the scripts attempt to reference any
variable that is undefined, they will fail.
parent 3e27274c
......@@ -96,6 +96,7 @@ module Pod
INSTALL_RESOURCES_FUNCTION = <<EOS
#!/bin/sh
set -e
set -u
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
......
......@@ -37,6 +37,7 @@ module Pod
script = <<-SH.strip_heredoc
#!/bin/sh
set -e
set -u
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment