summaryrefslogtreecommitdiff
path: root/html-gen.sh
diff options
context:
space:
mode:
authorp4bl0 <pablo@rauzy.name>2010-08-10 22:25:11 +0200
committerp4bl0 <pablo@rauzy.name>2010-08-10 22:25:11 +0200
commitf71626c7ecade5cf26baa9cb318cdd1c3d0c84c1 (patch)
treea894c4aebf28fd8577abb647a6bd97d54a62e478 /html-gen.sh
parentd0618efb643f2dbec9b470a129946396315f60d5 (diff)
now preventing commit when zero article (for real ^^) and push when fugitive.blog-url not set
Diffstat (limited to 'html-gen.sh')
-rw-r--r--html-gen.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/html-gen.sh b/html-gen.sh
index 7847a7d..d66dc12 100644
--- a/html-gen.sh
+++ b/html-gen.sh
@@ -36,8 +36,7 @@ for f in "$articles_dir"/*; do
done | sort -nr | cut -d' ' -f2 > "$articles_sorted"
if [ "`head -1 $articles_sorted`" = "" ]; then
- echo "[fugitive] Need at least one article, aborting." >&2
- exit 1
+ echo "[fugitive] WARNING: there's no article, errors may occur." >&2
fi
articles_sorted_with_delete=`mktemp --suffix "-fugitive"`