diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-21 08:39:19 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-21 08:39:19 +0100 |
commit | 370ce8157185390d9a2be5d27f51d35a866d93d6 (patch) | |
tree | d9abd30f9b84f14615177e082c5868ac013c2e15 /functions | |
parent | f589ea107c2c77922307351b0661587f9a640473 (diff) | |
download | mkinitcpio-370ce8157185390d9a2be5d27f51d35a866d93d6.tar.gz mkinitcpio-370ce8157185390d9a2be5d27f51d35a866d93d6.tar.xz |
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 <aaronmgriffin@gmail.com>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |