mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
functions: fix abuild -A
fix so abuild -A does not exit with error if gitbase fails this was introduced with the set -e
This commit is contained in:
parent
c2e91c2f66
commit
9c1595dc42
@ -71,7 +71,7 @@ readconfig() {
|
||||
[ -f "$ABUILD_CONF" ] && . "$ABUILD_CONF"
|
||||
[ -f "$ABUILD_USERCONF" ] && . "$ABUILD_USERCONF"
|
||||
APORTSDIR=${_APORTSDIR-$APORTSDIR}
|
||||
gitbase=$(git rev-parse --show-toplevel 2>/dev/null) # already is -P
|
||||
gitbase=$(git rev-parse --show-toplevel 2>/dev/null) || true # already is -P
|
||||
if [ -d "$APORTSDIR" ]; then
|
||||
APORTSDIR=$(cd "$APORTSDIR"; pwd -P)
|
||||
elif [ -z "$APORTSDIR" ] && [ -d "$HOME/aports" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user