diff --git a/make.sh b/make.sh index fb509a3..62dc9a9 100755 --- a/make.sh +++ b/make.sh @@ -4,24 +4,21 @@ targetDir='post/' source .creds url="https://$user:$pass@neocities.org/api/upload" +# auto tools should be able to fix this post() { tmp=".swap" full=".fullswap" - base=$(basename $1) + base=`basename $1` # First build the content of the site - pandoc $1 | sed '3i ' >> $tmp - sed -i '1i