فهرست منبع

allow variables with other characters than A-Z (e.g. LD_LIBRARY_PATH) to be set in %env, too.

Ralf S. Engelschall 22 سال پیش
والد
کامیت
72cba39ac3
3فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 0
      openpkg/HISTORY
  2. 1 1
      openpkg/openpkg.spec
  3. 1 1
      openpkg/rc

+ 1 - 0
openpkg/HISTORY

@@ -2,6 +2,7 @@
 2003
 ====
 
+20030805 allow variables with other characters than A-Z (e.g. LD_LIBRARY_PATH) to be set in %env, too.
 20030730 add entry to /etc/shells only if /etc/shells already exists at all
 20030729 aux.wrap{src,bin}.sh: exit immediately if uudecode cannot be found
 20030729 rc: fixed processing of $openpkg_rc_def (requires pre-inclusion of rc.conf)

+ 1 - 1
openpkg/openpkg.spec

@@ -39,7 +39,7 @@
 #   o any cc(1)
 
 #   the package version/release
-%define       V_openpkg 20030730
+%define       V_openpkg 20030805
 
 #   the used software versions
 %define       V_rpm     4.0.2

+ 1 - 1
openpkg/rc

@@ -577,7 +577,7 @@ for cmd in $cmds; do
         echo "exec 1<&3-" >>$tmpfile
         echo "unset PWD SHLVL" >>$tmpfile
         echo "env |\\" >>$tmpfile
-        echo "egrep '^[A-Z]*=.' |\\" >>$tmpfile
+        echo "egrep '^[A-Z_][A-Z0-9_]*=.' |\\" >>$tmpfile
         echo "sed -e 's/\\\\/\\\\\\\\/g' -e 's/\"/\\\\\"/g' \\" >>$tmpfile
         case $SHELL in
             csh|*/csh|tcsh|*/tcsh )