divarvel/blog — pull request #8 by frantony (2013-12-15 16:31:41+00:00)
Title: new_post.sh: explicitly use bash

If we use dash as /bin/sh then we have a problem
with 'read' buildin command. Here is the log:

$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Dec 24 2012 /bin/sh -> dash
$ ./new_post.sh
Post name > ./new_post.sh: 5: read: arg count
./new_post.sh: 24: ./new_post.sh: posts/.2013-12-15-.md: Permission denied

Signed-off-by: Antony Pavlov