summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-03-05 18:51:26 +0100
committerSebastian Schmelzer2009-03-05 18:51:26 +0100
commit181d97389f3b5888ee4a50aa6bf6c7b0a52f7b6c (patch)
tree1777668eefa7fe45589d09e68947318386d24987 /tools
parent * added uclibc-wrapper (diff)
downloadcore-181d97389f3b5888ee4a50aa6bf6c7b0a52f7b6c.tar.gz
core-181d97389f3b5888ee4a50aa6bf6c7b0a52f7b6c.tar.xz
core-181d97389f3b5888ee4a50aa6bf6c7b0a52f7b6c.zip
typo..
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2680 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools')
-rwxr-xr-xtools/uclibc-wrapper5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/uclibc-wrapper b/tools/uclibc-wrapper
index b722ddc9..3ee177c7 100755
--- a/tools/uclibc-wrapper
+++ b/tools/uclibc-wrapper
@@ -3,11 +3,12 @@
SLX_PATH=/opt/openslx/share
SLX_UCLIB_PATH=$SLX_PATH/uclib-rootfs
-[ -f $SLX_PATH ] || echo "Can't find OpenSLX Installation.." && exit 1
+if [ -f $SLX_PATH ]; then
+ echo "Can't find OpenSLX Installation.." && exit 1
+fi
[ -f /lib/ld-uClibc.so.0 ] && ln -sf $SLX_PATH/uclib-rootfs/lib/ld-uClibc.so.0
-
PATH=$SLX_UCLIB_PATH/bin:$SLX_UCLIB_PATH/usr/bin:$SLX_UCLIB_PATH/sbin:$SLX_UCLIB_PATH/usr/sbin
LD_LIBRARY_PATH=$SLX_UCLIB_PATH/lib:$SLX_UCLIB_PATH/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH PATH=$PATH PS1="#" $@