From 632caad748a3b4aec50c29c70fb16ca54212cfa9 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Feb 2013 17:39:11 +0100 Subject: [base] follow symlinks for binaries --- remote/tools/base/base.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build index 2a1a811c..91cbfa3f 100644 --- a/remote/tools/base/base.build +++ b/remote/tools/base/base.build @@ -16,7 +16,9 @@ build() { for BIN in ${REQUIRED_BINARIES} do - echo $(which ${BIN}) >> ${FILELIST} + BIN_LOCATION=$(which ${BIN}) + [ -e ${BIN_LOCATION} ] && echo ${BIN_LOCATION} >> ${FILELIST} + [ -L ${BIN_LOCATION} ] && echo $(readlink ${BIN_LOCATION}) >> ${FILELIST} done for LIB in ${REQUIRED_LIBRARIES} -- cgit v1.2.3-55-g7522