From 71748a8b4823b5c5bac15b8db6363357033f4ee2 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 13 Sep 2019 22:01:51 -0700 Subject: [PATCH] removed upload things from build script" --- make | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/make b/make index 0a2eb71..296143e 100755 --- a/make +++ b/make @@ -1,13 +1,7 @@ #!/bin/bash -rootDir='./tmp/' +rootDir='./site/' targetDir='post/' -if [ -f .creds ] -then - source .creds - url="https://$user:$pass@neocities.org/api/upload" -fi -# auto tools should be able to fix this post() { echo Building: $1 tmp=".swap" @@ -62,7 +56,7 @@ then exit 0 fi -while getopts ":aslrhup:" opt;do +while getopts ":aslrhp:" opt;do case "$opt" in a) build_all;; @@ -85,8 +79,6 @@ while getopts ":aslrhup:" opt;do post $file done ;; - u) - upload;; # this needs a proper fix according to api h) _help;; l)