r3720 - trunk/scripts

Andres Salomon dilinger at costa.debian.org
Sun Aug 7 19:34:57 UTC 2005


Author: dilinger
Date: 2005-08-07 19:34:56 +0000 (Sun, 07 Aug 2005)
New Revision: 3720

Modified:
   trunk/scripts/split-config
Log:
Fix buglet where <config dir> argument failed to have a trailing backslash, so
path stuff screwed up.  Found by maks.


Modified: trunk/scripts/split-config
===================================================================
--- trunk/scripts/split-config	2005-08-07 17:50:39 UTC (rev 3719)
+++ trunk/scripts/split-config	2005-08-07 19:34:56 UTC (rev 3720)
@@ -42,6 +42,7 @@
 
 def collect(path, archdirs, flavour)
 	kconf = {}
+	path += '/' unless path =~ /\/$/
 	if File.exists?("#{path}/config")
 		kconf = parse_config("#{path}/config", kconf)
 	end




More information about the Kernel-svn-changes mailing list