7145246 /usr/bin/slib doesn't seem to work
authorRich Burridge <rich.burridge@oracle.com>
Thu, 16 Feb 2012 11:21:40 -0800
changeset 694 a8816ddd9020
parent 693 15d71a1e47d6
child 695 14430a2565d4
7145246 /usr/bin/slib doesn't seem to work
components/slib/patches/slib.sh.patch
--- a/components/slib/patches/slib.sh.patch	Thu Feb 16 09:29:52 2012 -0800
+++ b/components/slib/patches/slib.sh.patch	Thu Feb 16 11:21:40 2012 -0800
@@ -1,12 +1,8 @@
 --- slib/slib.sh_orig	Thu Dec 20 20:17:37 2007
 +++ slib/slib.sh	Tue Mar 29 14:16:10 2011
[email protected]@ -1,3 +1,11 @@
[email protected]@ -1,3 +1,7 @@
 +#!/usr/bin/bash
-+RELOC_ROOT=$(pkginfo -r SUNWslib)
-+if [[ "$RELOC_ROOT" == "none" ]]; then
-+       RELOC_ROOT=/
-+fi
-+SCHEME_LIBRARY_PATH=${SCHEME_LIBRARY_PATH:-${RELOC_ROOT}usr/lib/slib}
++SCHEME_LIBRARY_PATH=${SCHEME_LIBRARY_PATH:-/usr/lib/slib/}
 +export SCHEME_LIBRARY_PATH
 +VERSION=3b1