Skip to content

Commit

Permalink
try makeing starting dir not root for initial run
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jan 25, 2013
1 parent f9a4952 commit 504f942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_optim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jpeg_remove_comment_and_exiv()
if [ "`git log -1 --pretty="%B" | awk '{print $1}'| sed '$d'`" == "image_optim" ] ; then
filelist=`git log -1 --stat --pretty="%b" | sed '$d' | awk '{print $1}'`
else
filelist=`git ls-files | grep "\.png$"`
filelist=`git ls-files ./ | grep "\.png$"`
fi
png_optimize_all()
{
Expand Down

0 comments on commit 504f942

Please sign in to comment.