From 370ce8157185390d9a2be5d27f51d35a866d93d6 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 21 Jan 2009 01:39:19 -0600 Subject: Use BASEDIR for adding binaries and dependent libs Hook's BINARIES settings were being copied from the parent if using an alternate BASEDIR. This should fix that Signed-off-by: Aaron Griffin --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions b/functions index 8dbb24c..354a855 100644 --- a/functions +++ b/functions @@ -192,7 +192,7 @@ add_binary () #remove TLS libraries notls=$(echo ${lib} | sed 's|/lib/tls.*/\(lib.*\)|/lib/\1|') [ -e "${notls}" ] && lib="${notls}" - [ -f "${lib}" ] && add_file "${lib}" + [ -f "${lib}" ] && add_file "${BASEDIR}${lib}" fi done ;; @@ -215,7 +215,7 @@ parse_hook () for bin in ${BINARIES}; do if [ -n "${bin}" ]; then - add_binary "${bin}" + add_binary "${BASEDIR}${bin}" fi done -- cgit v1.2.3-24-g4f1b