diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-01 12:13:40 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-01 12:13:40 +0200 |
commit | 4ad15542bc927c47ad0b56e7ee03d2b711448e39 (patch) | |
tree | 0b97c11add8d7db71ef35ecdc2cce1cd7b49d18a /lbu.in | |
parent | c55971dbb9021934816d96383450210235890a23 (diff) | |
download | alpine-conf-4ad15542bc927c47ad0b56e7ee03d2b711448e39.zip |
lbu: fix import of libalpine.sh for tests
Diffstat (limited to 'lbu.in')
-rw-r--r-- | lbu.in | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -5,15 +5,10 @@ # May be distributed under GPL2 or MIT VERSION=@VERSION@ -sysconfdir=@sysconfdir@ -if [ ! -f ${libalpine:="./libalpine.sh"} ]; then - libalpine=/usr/share/lbu/libalpine.sh - if [ ! -f "$libalpine" ]; then - libalpine=/lib/libalpine.sh - fi -fi -. $libalpine || exit 1 +PREFIX=@PREFIX@ +: ${LIBDIR=$PREFIX/lib} +. "$LIBDIR/libalpine.sh" EXCLUDE_LIST="$sysconfdir"/exclude INCLUDE_LIST="$sysconfdir"/include |