I found what seems to be a bug in the %{l_prefix}/etc/rc script in
openpkg-1.3.0-1.3.0 that silently ignores any environment variables set in
packages %env sections that contain anything but upper case [A-Z] (e.g.
minor things like LD_LIBRARY_PATH :-).

The attached patch to the rc file accepts anything starting with [A-Z]
followed by anything.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Our Foreign dealings are an Open Book, generally a Check Book.''
    Will Rogers
--- rc.orig	Mon Aug  4 23:40:00 2003
+++ rc	Mon Aug  4 23:40:09 2003
@@ -577,7 +577,7 @@
         echo "exec 1<&3-" >>$tmpfile
         echo "unset PWD SHLVL" >>$tmpfile
         echo "env |\\" >>$tmpfile
-        echo "egrep '^[A-Z]*=.' |\\" >>$tmpfile
+        echo "egrep '^[A-Z].*=.' |\\" >>$tmpfile
         echo "sed -e 's/\\\\/\\\\\\\\/g' -e 's/\"/\\\\\"/g' \\" >>$tmpfile
         case $SHELL in
             csh|*/csh|tcsh|*/tcsh )

Reply via email to