From 08a3290b46115bdbe37a329909483cb4c6afd837 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Fri, 13 Sep 2019 14:34:53 -0700 Subject: [PATCH] quick safety --- make | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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() {