X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=post_edit_hook.sh;h=f756882ecdc0253ea8c3b6b7a99cb74ce7c3499d;hp=2c06f19b1474abdbd2b98e637ee4d372024b46ad;hb=ba86d6242b2d2ff713f3db4725adcabbfb9f1cce;hpb=09b5f67a8739349f30bbeff13aeb475131850244 diff --git a/post_edit_hook.sh b/post_edit_hook.sh index 2c06f19..f756882 100755 --- a/post_edit_hook.sh +++ b/post_edit_hook.sh @@ -12,8 +12,8 @@ fi repo=`dirname "$1"` file=`basename "$1"` -cd $repo -git-add $file # In case it's a new page +cd "$repo" +git add "$file" # In case it's a new page GIT_COMMITTER_NAME='GeekiGeeki' \ GIT_COMMITTER_EMAIL='webmaster@codewiz.org' \