diff options
| author | Jonathan Bauer | 2013-02-01 17:39:11 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-02-01 17:39:11 +0100 |
| commit | 632caad748a3b4aec50c29c70fb16ca54212cfa9 (patch) | |
| tree | 7996d8378b45ec8866ddfdb6f151effdc29efcc3 /remote/tools/base | |
| parent | fixes (diff) | |
| download | tm-scripts-632caad748a3b4aec50c29c70fb16ca54212cfa9.tar.gz tm-scripts-632caad748a3b4aec50c29c70fb16ca54212cfa9.tar.xz tm-scripts-632caad748a3b4aec50c29c70fb16ca54212cfa9.zip | |
[base] follow symlinks for binaries
Diffstat (limited to 'remote/tools/base')
| -rw-r--r-- | remote/tools/base/base.build | 4 |
1 files changed, 3 insertions, 1 deletions
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} |
