diff options
author | Andras Timar <atimar@suse.com> | 2011-09-20 16:42:32 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-09-20 18:29:12 +0200 |
commit | 810a08a8cb0da9377a6d9d358923895d9faf04d3 (patch) | |
tree | 0cc2187916372db81b6dfe4edf06be5a0ccdb918 /solenv | |
parent | a6f311ac01b7cd9809471d6d30ac24dc9037ef6e (diff) |
localize.pl is not necessary
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/localize | 7 | ||||
-rwxr-xr-x | solenv/bin/localize_sl | 13 |
2 files changed, 4 insertions, 16 deletions
diff --git a/solenv/bin/localize b/solenv/bin/localize index 9504e8ee37ed..732cf85c86c6 100755 --- a/solenv/bin/localize +++ b/solenv/bin/localize @@ -4,12 +4,13 @@ if [ x${SOLARENV}x = xx ]; then exit 1 fi -# localize.pl calls localize_sl in solver bin directory which depends on dynamic -# libraries in solver lib directory but has no correct RPATH (or equivalent): if [ "${OS?}" = MACOSX ]; then export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib else export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib fi -exec perl -w $SOLARVERSION/$INPATH/bin/localize.pl "$@" +pushd $(pwd) +cd ${SRC_ROOT} +exec $SOLARVERSION/$INPATH/bin/localize_sl "$@" +popd diff --git a/solenv/bin/localize_sl b/solenv/bin/localize_sl deleted file mode 100755 index d0db56084a19..000000000000 --- a/solenv/bin/localize_sl +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -if [ x${SOLARENV}x = xx ]; then - echo No environment found, please use 'setsolar' -exit 1 -fi - -if [ "${OS?}" = MACOSX ]; then - export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib -else - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib -fi - -exec $SOLARVERSION/$INPATH/bin/localize_sl "$@" |