summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-15 15:54:53 +0100
committerJonathan Bauer2013-03-15 15:54:53 +0100
commit16458c82af1a2f98cd21344b06dcde7fbbabcd0f (patch)
tree21d9d351716b596f4816704f7a3265f6603fea15
parentstage3.1 (diff)
downloadtm-scripts-16458c82af1a2f98cd21344b06dcde7fbbabcd0f.tar.gz
tm-scripts-16458c82af1a2f98cd21344b06dcde7fbbabcd0f.tar.xz
tm-scripts-16458c82af1a2f98cd21344b06dcde7fbbabcd0f.zip
fix PREFIX beeing a link
-rw-r--r--helper/binutil.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/binutil.inc b/helper/binutil.inc
index 53f5f5d4..e6c43559 100644
--- a/helper/binutil.inc
+++ b/helper/binutil.inc
@@ -105,7 +105,7 @@ get_link_chain() {
if [ $# == 2 ] ; then
[ ! -d $2 ] && perror "get_link_chain: $2 is not a directory."
# got a prefix
- local PREFIX=$2
+ local PREFIX=$(readlink -f $2)
else
# mark prefix as not set
local PREFIX="notset"