From: Jocelyn Turcotte Date: Tue, 5 May 2015 13:01:40 +0000 (+0200) Subject: Don't hardcode the source directory in deploy.sh X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1803^2~127 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=931dd598443390c3897243314207aa6be7a1347c;p=nextcloud-desktop.git Don't hardcode the source directory in deploy.sh --- diff --git a/shell_integration/MacOSX/deploy.sh b/shell_integration/MacOSX/deploy.sh index 2cb2ca579..fde7d3406 100644 --- a/shell_integration/MacOSX/deploy.sh +++ b/shell_integration/MacOSX/deploy.sh @@ -1,5 +1,6 @@ #!/bin/sh -# osascript $HOME/owncloud.com/client/shell_integration/MacOSX/unload.scpt +SELFPATH=`dirname $0` +# osascript $SELFPATH/unload.scpt sudo rm -rf /Library/ScriptingAdditions/SyncStateFinder.osax # Klaas' machine @@ -12,6 +13,6 @@ OSAXDIR=$HOME/Library/Developer/Xcode/DerivedData/OwnCloud-*/Build/Products/Debu sudo killall Finder sleep 1 -osascript $HOME/owncloud.com/client/shell_integration/MacOSX/load.scpt -osascript $HOME/owncloud.com/client/shell_integration/MacOSX/check.scpt +osascript $SELFPATH/load.scpt +osascript $SELFPATH/check.scpt