projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6500d8
)
Don't hardcode the source directory in deploy.sh
author
Jocelyn Turcotte
<jturcotte@woboq.com>
Tue, 5 May 2015 13:01:40 +0000
(15:01 +0200)
committer
Jocelyn Turcotte
<jturcotte@woboq.com>
Wed, 6 May 2015 14:56:50 +0000
(16:56 +0200)
shell_integration/MacOSX/deploy.sh
patch
|
blob
|
history
diff --git
a/shell_integration/MacOSX/deploy.sh
b/shell_integration/MacOSX/deploy.sh
index 2cb2ca5790f1075d9653fcb3ef22ac3da4b4eb89..fde7d3406a60f08a6114eb0713d49a8d939671c8 100644
(file)
--- 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