[FIXED] .git directory in project root is now actually removed.

This commit is contained in:
Sami Samhuri 2009-11-24 13:43:50 -08:00
parent f70a2f6d8b
commit 75f3ca40f9

View file

@ -9,7 +9,7 @@ echo "Zipping project in ${PWD}..."
pushd .. >/dev/null pushd .. >/dev/null
cp -a "${ORIG_DIR}" "${CODE_DIR}" cp -a "${ORIG_DIR}" "${CODE_DIR}"
pushd "${CODE_DIR}" >/dev/null pushd "${CODE_DIR}" >/dev/null
rm -rf **/.git* **/build generated/ rm -rf .git* **/.git* **/build generated/
popd >/dev/null popd >/dev/null
zip -T -r -y "${ZIP_FILE}" "${CODE_DIR}" zip -T -r -y "${ZIP_FILE}" "${CODE_DIR}"
rm -rf "${CODE_DIR}" rm -rf "${CODE_DIR}"