quick safety

This commit is contained in:
shockrahwow 2019-09-13 14:34:53 -07:00
parent 067c71c78a
commit 08a3290b46

7
make
View File

@ -1,8 +1,11 @@
#!/bin/bash
rootDir='./site/'
targetDir='post/'
source .creds
url="https://$user:$pass@neocities.org/api/upload"
if [ -f .creds ]
then
source .creds
url="https://$user:$pass@neocities.org/api/upload"
fi
# auto tools should be able to fix this
post() {