--- trunk/mage/usr/lib/mage/env-rebuild.sh 2011/12/28 10:26:01 1570 +++ trunk/mage/usr/lib/mage/env-rebuild.sh 2012/01/03 14:22:03 1602 @@ -39,10 +39,12 @@ esac variable="${line%%=*}" - # substitudes " from $line if exists - path="${line//\"}" #}" <--- make code readable again :) value="${line##*=}" + # substitudes " or ' from $value if exists + value="${value//\"}" #}" <--- make code readable again :) + value="${value//\'}" + # writes LDPATH to ${MROOT}/etc/ld.so.conf, # anything else to ${MROOT}/etc/profile.env if [[ ${variable} = LDPATH ]]