From 931dd598443390c3897243314207aa6be7a1347c Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 5 May 2015 15:01:40 +0200 Subject: [PATCH] Don't hardcode the source directory in deploy.sh --- shell_integration/MacOSX/deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5