Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on run
- --do shell script "/usr/local/git/bin/git"
- set localFontcase to "~/Library/Application\\ Support/Fontcase/"
- set changedFiles to do shell script "cd " & localFontcase & "; /usr/local/git/bin/git diff --name-only"
- if changedFiles is not {} then
- do shell script "cd ~/Library/Application Support/Fontcase/; /usr/local/git/bin/git commit -a -m \"autocommit done after local changes\"; /usr/local/git/bin/git push "
- else
- display dialog
- end if
- display dialog changedFiles
- --do shell script "cd ~/Library/Application Support/Fontcase/; git commit -a -m \"autocommit done after local changes\" "
- end run
Add Comment
Please, Sign In to add comment