summaryrefslogtreecommitdiffstats
path: root/remote/tools/base/base.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-02-27 17:15:49 +0100
committerJonathan Bauer2013-02-27 17:15:49 +0100
commit60c6a93345ed696ce975e36ceca4d3733717666a (patch)
tree50ca2e872b2cc2cbcecffc67e04e97108140c144 /remote/tools/base/base.build
parentbinutil.inc fixed functionality, see comments (diff)
downloadtm-scripts-60c6a93345ed696ce975e36ceca4d3733717666a.tar.gz
tm-scripts-60c6a93345ed696ce975e36ceca4d3733717666a.tar.xz
tm-scripts-60c6a93345ed696ce975e36ceca4d3733717666a.zip
using binutils EVERYWHERE
Diffstat (limited to 'remote/tools/base/base.build')
-rw-r--r--remote/tools/base/base.build9
1 files changed, 3 insertions, 6 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index 06ff22b7..efabaedd 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -20,10 +20,7 @@ build() {
if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ];
then
pdebug "Processing $BIN at $BIN_LOCATION ..."
- echo ${BIN_LOCATION} >> "${FILELIST}"
- [ -L "${BIN_LOCATION}" ] \
- && pdebug "${BIN_LOCATION} is a symbolic link, copying $(readlink -f "${BIN_LOCATION}")" \
- && echo $(readlink -f "${BIN_LOCATION}") >> "${FILELIST}"
+ get_link_chain ${BIN_LOCATION} >> "${FILELIST}"
else
perror "${BIN} not found on the system! Please install it."
fi
@@ -31,9 +28,9 @@ build() {
for LIB in ${REQUIRED_LIBRARIES}
do
- for LIB_LOCATION in $(find /lib/ -name "${LIB}.so\*")
+ for LIB_LOCATION in $(find /lib/ -name "${LIB}.so*")
do
- echo ${LIB_LOCATION} >> "${FILELIST}"
+ get_link_chain "${LIB_LOCATION}" >> "${FILELIST}"
done
done