api: remove DIRECTORY declaration

pull/906/head
Botspot 5 years ago
parent 7d44e3809d
commit 69d5038e8d

2
api

@ -10,8 +10,6 @@ if [[ "$0" == */api ]];then
DIRECTORY="$(readlink -f "$(dirname "$0")")"
fi
echo "API script thinks directory is $DIRECTORY" 1>&2
repo_url="$(cat "${DIRECTORY}/etc/git_url" || echo 'https://github.com/Botspot/pi-apps')"
#determine if host system is 64 bit arm64 or 32 bit armhf

Loading…
Cancel
Save