diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-05-05 16:01:40 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-05-06 17:56:50 +0300 |
commit | 931dd598443390c3897243314207aa6be7a1347c (patch) | |
tree | 2de51cbf8cce4f0c9c9eaaa9f33db505b0e91e32 /shell_integration/MacOSX | |
parent | a6500d80686b7b04aa0a9fbf2a3c084b99dda488 (diff) |
Don't hardcode the source directory in deploy.sh
Diffstat (limited to 'shell_integration/MacOSX')
-rw-r--r-- | shell_integration/MacOSX/deploy.sh | 7 |
1 files 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 |