Commit e7b21488 authored by Kevin Lundberg's avatar Kevin Lundberg

don't let script fail if file doesn't exist

sometimes for me the rm command in this script fails if the file
doesn't exist. I'm not sure why that would happen, but using the -f
flag on rm will prevent this command from failing and halting a build.
parent c2bb7cb3
...@@ -117,7 +117,7 @@ EOS ...@@ -117,7 +117,7 @@ EOS
RSYNC_CALL = <<EOS RSYNC_CALL = <<EOS
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY" rm -f "$RESOURCES_TO_COPY"
EOS EOS
end end
......
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