diff options
author | p4bl0 <pablo@rauzy.name> | 2010-07-26 19:04:48 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-07-26 19:04:48 +0200 |
commit | 4deb81aa6aa3ff5cf0f77203ddf50f52cf736251 (patch) | |
tree | f7b0e96e2381f9ec26321308fabb18f327156326 | |
parent | 1c713762aae31c2825ecc30d2de917c81e2208e8 (diff) |
updated path to generated article that is added in exclude list
-rw-r--r-- | post-commit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post-commit.sh b/post-commit.sh index 3e837ba..044526f 100644 --- a/post-commit.sh +++ b/post-commit.sh @@ -311,8 +311,8 @@ done for f in $added_files; do if [ "$f" != "${f#$articles_dir}" ]; then art="${f#$articles_dir/}" - echo -n "[fugitive] Adding $art.html to git ignore list... " - echo "$art.html" >> .git/info/exclude + echo -n "[fugitive] Adding $public_dir/$art.html to git ignore list... " + echo "$public_dir/$art.html" >> .git/info/exclude echo "done." previous=`get_article_previous_file "$art"` next=`get_article_next_file "$art"` |