mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +08:00
16 lines
459 B
Bash
16 lines
459 B
Bash
# Protect the copied header files from being modified. This is done in an attempt to avoid
|
|
# accidentally editing the copied headers.
|
|
|
|
# Ignore whitespace characters in paths
|
|
IFS=$'\n'
|
|
|
|
if [ -d "${CONFIGURATION_BUILD_DIR}/include/RestKit" ]; then
|
|
cd ${CONFIGURATION_BUILD_DIR}/include/RestKit
|
|
|
|
find * -name '*.h' | xargs chmod a-w
|
|
else
|
|
echo "Configuration include path does not exist, likely perform a Build & Archive operation..."
|
|
fi
|
|
|
|
exit 0
|