[Commit] nickle ChangeLog,1.133,1.134 command.5c,1.21,1.22

Keith Packard commit at keithp.com
Wed Aug 3 11:07:50 PDT 2005


Committed by: keithp

Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv28487

Modified Files:
	ChangeLog command.5c 
Log Message:
2005-08-03  Keith Packard  <keithp at keithp.com>

	* command.5c:
	Fix minor regression from argument parsing rewrite;
	library path was not augmented by script directory
	as it used to be.


Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- ChangeLog	3 Aug 2005 06:34:05 -0000	1.133
+++ ChangeLog	3 Aug 2005 18:07:47 -0000	1.134
@@ -1,3 +1,10 @@
+2005-08-03  Keith Packard  <keithp at keithp.com>
+
+	* command.5c:
+	Fix minor regression from argument parsing rewrite;
+	library path was not augmented by script directory
+	as it used to be.
+
 2005-08-02  Keith Packard  <keithp at keithp.com>
 
 	* builtin-string.c: (do_String_index), (do_String_substr):

Index: command.5c
===================================================================
RCS file: /local/src/CVS/nickle/command.5c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- command.5c	1 Aug 2005 09:20:29 -0000	1.21
+++ command.5c	3 Aug 2005 18:07:47 -0000	1.22
@@ -258,6 +258,8 @@
 	
 	void save_script(string arg) {
 	    save_lexable((lexable.script)arg);
+	    /* Add directory containing the script to the library path */
+	    nickle_path = String::dirname (arg) + ":" + nickle_path;
 	    script_name = arg;
 	    lex_stdin = false;
 	}




More information about the Commit mailing list