We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d245259 commit 4378d55Copy full SHA for 4378d55
1 file changed
build.sh
@@ -41,11 +41,9 @@ if [ ! -f 'tools/modman' ] ; then echo "Could not find modman script"; exit 1 ;
41
if [ ! -d '.modman' ] ; then echo "Could not find .modman directory"; exit 1 ; fi
42
if [ ! -f '.modman/.basedir' ] ; then echo "Could not find .modman/.basedir"; exit 1 ; fi
43
44
-if [ -f vendor/aoepeople/magento-deployscripts/apply_patches.sh ] ; then
+if [ -d patches ] && [ -f vendor/aoepeople/magento-deployscripts/apply_patches.sh ] ; then
45
cd "${PROJECTROOTDIR}/htdocs" || { echo "Changing directory failed"; exit 1; }
46
-
47
bash ../vendor/aoepeople/magento-deployscripts/apply_patches.sh || { echo "Error while applying patches"; exit 1; }
48
49
cd ${PROJECTROOTDIR} || { echo "Changing directory failed"; exit 1; }
50
fi
51
0 commit comments