Browse Source

Fixing the upload script to be compatible with new site structure.

master
Brett Bohnenkamper 6 years ago
parent
commit
82d4c3582a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Upload/upload.sh

+ 2
- 2
Upload/upload.sh View File

@@ -12,7 +12,7 @@ else
n=1
for i in "$@"; do
printf "\nUploading file #${n} ... "
out=$(curl -sf -F file="@${i}" http://upload.teknik.io/lib/upload.php)
out=$(curl -sf -F file="@${i}" http://upload.teknik.io/includes/upload.php)
if [[ -n "${out}" ]]; then
printf "uploaded! Your file can be found at http://u.teknik.io/${out}\n"
else
@@ -20,4 +20,4 @@ else
fi
((n++))
done
fi
fi

Loading…
Cancel
Save