Skip to content

Commit

Permalink
Don't trigger pod-update on file modification, only on creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhgills committed Dec 17, 2013
1 parent e62b01b commit 68fdabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/pod-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PODS="${PROJECT_DIR}/Pods"
REPO_ROOT="${PROJECT_DIR}/.."
SOURCE="${REPO_ROOT}/Source"
CHANGED_SOURCE_FILES="$(find "$SOURCE" \! -path "*xcuserdata*" \! -path "*.git" -newer "$PODS/")"
CHANGED_SOURCE_FILES="$(find "$SOURCE" \! -path "*xcuserdata*" \! -path "*.git" -newerBm "$PODS/")"
COMMAND="pod update"

if [ -n "$CHANGED_SOURCE_FILES" ]; then
Expand Down

0 comments on commit 68fdabf

Please sign in to comment.