From efb5b85f22459ea1df32e0102e72bc978e78487c Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Thu, 18 Jun 2020 12:56:54 +0200 Subject: [PATCH] fix dmg script --- install/macos/macos_dmg.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/macos/macos_dmg.sh b/install/macos/macos_dmg.sh index 3952bc0cb..aab374592 100755 --- a/install/macos/macos_dmg.sh +++ b/install/macos/macos_dmg.sh @@ -24,6 +24,8 @@ fi DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cd $DIR #move to script directory +DISTRIB_PATH=$( realpath $DISTRIB_PATH) + if ! [ -e $DISTRIB_PATH/meshlab.app -a -d $DISTRIB_PATH/meshlab.app ] then echo "Started in the wrong dir: I have not found the meshlab.app"