Only try to run make clean if there is a Makefile present.

pull/33/head
Dave Page 2020-05-18 11:18:03 +01:00
parent 569d05df4e
commit 0e799b16b0
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ _create_venv() {
_build_runtime() {
cd ${SOURCE_DIR}/runtime
make clean
if [ -f Makefile ]; then
make clean
fi
${QMAKE}
make
cp -r pgAdmin4.app "${BUNDLE_DIR}"