diff --git a/make b/make index 62f25cd..6d7f6e7 100755 --- a/make +++ b/make @@ -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() {