summaryrefslogtreecommitdiff
path: root/new.sh
diff options
context:
space:
mode:
Diffstat (limited to 'new.sh')
-rwxr-xr-xnew.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/new.sh b/new.sh
index 9fce8a3..3a05034 100755
--- a/new.sh
+++ b/new.sh
@@ -5,9 +5,9 @@ TEMPFILE=/tmp/blog_entry.md
$EDITOR $TEMPFILE
-NAME=src/$(head -1 $TEMPFILE | cut -d" " -f2-).md
+NAME=entries/$(head -1 $TEMPFILE | cut -d" " -f2-).html
cp $TEMPFILE "$NAME"
rm $TEMPFILE
-./sync.sh
+chmod +x $NAME