summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp4bl0 <pablo@rauzy.name>2010-07-26 19:04:48 +0200
committerp4bl0 <pablo@rauzy.name>2010-07-26 19:04:48 +0200
commit4deb81aa6aa3ff5cf0f77203ddf50f52cf736251 (patch)
treef7b0e96e2381f9ec26321308fabb18f327156326
parent1c713762aae31c2825ecc30d2de917c81e2208e8 (diff)
updated path to generated article that is added in exclude list
-rw-r--r--post-commit.sh4
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"`