|
@@ -143,7 +143,7 @@ popd > /dev/null #${SITE_DIR}
|
|
|
### APPLY PATCHES TO GLUON
|
|
|
progress "Applying Patches ..."
|
|
|
git checkout -B patching "${BASE}"
|
|
|
-if [ "$(echo "${PATCH_DIR}"/*.patch)" ]; then
|
|
|
+if [ -d "${PATCH_DIR}" -a "$(echo ${PATCH_DIR}/*.patch)" ]; then
|
|
|
git am ${PATCH_DIR}/*.patch || (
|
|
|
git am --abort
|
|
|
git checkout patched
|