From 0e799b16b02ef90539a537374a2dcf11018e66c6 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 18 May 2020 11:18:03 +0100 Subject: [PATCH] Only try to run make clean if there is a Makefile present. --- pkg/mac/build-functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/mac/build-functions.sh b/pkg/mac/build-functions.sh index a5cd6c19e..978533fb3 100644 --- a/pkg/mac/build-functions.sh +++ b/pkg/mac/build-functions.sh @@ -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}"