Fix build directory pruning.

Reviewed in http://codereview.appspot.com/6492053/
This commit is contained in:
Ali Afshar
2012-08-29 07:36:17 -07:00
parent 73774c5d66
commit dcc96977ae

View File

@@ -41,8 +41,8 @@ ${ENV_PATH}/bin/pip install -b ${BUILD_PATH} -t ${LIB_PATH} . >> ${LOG_PATH}
# Prune the things we don't want.
echo "Pruning target library"
find ${TARGET_PATH} -name "*.pyc" -exec rm {} \; >> ${LOG_PATH}
rm -rf ${TARGET_PATH}/*.egg-info >> ${LOG_PATH}
find ${LIB_PATH} -name "*.pyc" -exec rm {} \; >> ${LOG_PATH}
rm -rf ${LIB_PATH}/*.egg-info >> ${LOG_PATH}
# Create the zip.
echo "Creating zip"