fixed format of OSX script
This commit is contained in:
parent
24abc27f18
commit
421ff7bf0d
1 changed files with 6 additions and 6 deletions
|
@ -91,12 +91,12 @@ For OS X, it is possible to get context menus in Finder. Due to how OS X deals w
|
|||
3. Add a "Run shell script" element and fill in line with the following script:
|
||||
|
||||
|
||||
#!/usr/bin/bash
|
||||
source ~/.bash_profile
|
||||
for f in "$@"
|
||||
do
|
||||
cd $(dirname $f); git-annex get $f
|
||||
done
|
||||
#!/usr/bin/bash
|
||||
source ~/.bash_profile
|
||||
for f in "$@"
|
||||
do
|
||||
cd $(dirname $f); git-annex get $f
|
||||
done
|
||||
|
||||
The purpose of the first line is there to get git-annex on to the path. The reason for the for loop is in case multiple files or folders are marked when running the context menu command.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue