summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/uclibc-wrapper7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/uclibc-wrapper b/tools/uclibc-wrapper
index 572bdb6c..82f55656 100755
--- a/tools/uclibc-wrapper
+++ b/tools/uclibc-wrapper
@@ -11,12 +11,9 @@
#
# Wrapper script for OpenSLX environments used with server and client stage4
-SLX_PATH=/opt/openslx/share
-SLX_UCLIB_PATH=$SLX_PATH/uclib-rootfs
-
-if [ -f /opt/openslx/share/uclib-rootfs ]; then
+if [ -d /opt/openslx/share/uclib-rootfs ]; then
SLX_UCLIB_PATH=/opt/openslx/share/uclib-rootfs
-elif [ -f /opt/openslx/uclib-rootfs ]; then
+elif [ -d /opt/openslx/uclib-rootfs ]; then
SLX_UCLIB_PATH=/opt/openslx/uclib-rootfs
else
echo "Can't find OpenSLX Environment." && exit 1