This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set title to text returned of (display dialog "Episode Title?" default answer "Episodentitel") as string | |
set summary to text returned of (display dialog "Description?" default answer "Interessante Beschreibung") as string | |
tell application "Finder" | |
set theFile to (get selection) as alias | |
set theFile to (POSIX path of theFile) as string | |
end tell | |
set theLameCommand to ("/bin/bash /path/to/encode-podcast.sh -t \"" & title & "\" -s \"" & summary & "\" \"" & theFile & "\"") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Post-update hook to checkout working copy and publish it with jekyll | |
# | |
# To enable this hook, make this file executable by "chmod +x post-update". | |
git-update-server-info | |
is_bare=$(git-config --get --bool core.bare) |