Skip to content

Commit

Permalink
Merge pull request DeeNewcum#15 from nobbs/patch-1
Browse files Browse the repository at this point in the history
Fixing that awk command in mustacheme
  • Loading branch information
holman committed Oct 12, 2011
2 parents 0675a98 + cadd04a commit 02b5247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mustacheme
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ convert $1 -coalesce $output/frame_%03d.gif
# Mustache each frame
for frame in $output/*.gif
do
url=$(cloudapp $frame | grep Uploaded | awk '{print substr($0,13)}')
url=$(cloudapp $frame | grep Uploaded | awk '{print substr($0, index($0, "http://"))}')
url="$url/$(basename $frame)"
wget "http://mustachify.me/?src=$url" -O "$frame-stache"
done
Expand Down

0 comments on commit 02b5247

Please sign in to comment.