fix binary name

This commit is contained in:
David Newhall II 2019-07-08 21:20:54 -07:00
parent 514524a4a0
commit 61fc62cd3e
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ CONFIG_FILE="up.conf"
LICENSE="MIT"
# The rest if mostly automatic.
BINARY="$(basename $(pwd))"
BINARY="$(basename $(git rev-parse --show-toplevel))"
[ "$BINARY" != "" ] || BINARY="$(basename $(pwd))"
GHREPO="${GHUSER}/${BINARY}"
URL="https://github.com/${GHREPO}"