From 419c97667a0e9de3c1fcad7ed3cce95e9e28ec5c Mon Sep 17 00:00:00 2001 From: niklasbuehler Date: Fri, 26 Apr 2019 19:04:58 +0200 Subject: [PATCH] Fix path in init check --- lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lb b/lb index 924b4ca..c71edb1 100755 --- a/lb +++ b/lb @@ -8,7 +8,7 @@ indexfile="blogindex.html" rssfile="rss.xml" [ -z "$EDITOR" ] && EDITOR="vim" -[ ! -d blog/.drafts ] && +[ ! -d "$webdir/blog/.drafts" ] && read -erp "Initialize blog in $webdir?" ask && if [ "$ask" = "y" ]; then printf "Initializing blog system...\\n"