[Lunar-commits] CVS: moonbase/libs/readline BUILD, 1.5, 1.6 POST_INSTALL, 1.1, 1.2

Terry Chan tchan at lunar-linux.org
Wed Feb 23 18:37:03 UTC 2005


Update of /var/cvs/lunar/moonbase/libs/readline
In directory espresso.foo-projects.org:/tmp/cvs-serv24049

Modified Files:
	BUILD POST_INSTALL 
Log Message:
Fixed readline to use set_module_config, get_module_config and
unset_module_config.  Export var doesn't work between BUILD and POST_INSTALL.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/readline/BUILD,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- BUILD	23 Feb 2005 15:14:15 -0000	1.5
+++ BUILD	23 Feb 2005 18:37:01 -0000	1.6
@@ -1,6 +1,7 @@
 (
 
-  export OUR_OLD_READLINE_VVV=$(lvu installed readline | perl -pe 's/([0-9]).+/$1/') &&
+  OUR_OLD_READLINE_VVV=$(lvu installed readline | perl -pe 's/([0-9]).+/$1/') &&
+  set_module_config OUR_OLD_READLINE_VVV "$OUR_OLD_READLINE_VVV" &&
   # ************************ WARNING *************************
   # DO NOT MESS WITH THE CONFIGURE STUFF here unless you
   # really know what you're doing! We chose the lib location

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/readline/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL	29 Jul 2004 17:10:04 -0000	1.1
+++ POST_INSTALL	23 Feb 2005 18:37:01 -0000	1.2
@@ -1,4 +1,5 @@
 OUR_NEW_READLINE_VVV=$(lvu version readline | perl -pe 's/([0-9]).+/$1/')
+OUR_OLD_READLINE_VVV=$(get_module_config OUR_OLD_READLINE_VVV)
 
 if [[ "$OUR_NEW_READLINE_VVV" > "$OUR_OLD_READLINE_VVV" ]]; then
 
@@ -12,4 +13,4 @@
 
 rm -f /lib/libreadline.so.4 &&
 rm -f /lib/libhistory.so.4  &&
-unset $OUR_OLD_READLINE_VVV
+unset_module_config OUR_OLD_READLINE_VVV



More information about the Lunar-commits mailing list