fix binary name
This commit is contained in:
parent
514524a4a0
commit
61fc62cd3e
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue