[Gridflow-cvs] [svn] commit: r6742 - /trunk/configure

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Mar 6 13:49:25 EST 2011


Author: matju
Date: Sun Mar  6 13:49:25 2011
New Revision: 6742

Log:
fix dumb bug with ld.so.conf (which never was a problem)

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Mar  6 13:49:25 2011
@@ -174,9 +174,7 @@
 
 def read_ld_so_conf
 	return [] unless File.exist?("/etc/ld.so.conf")
-	x = File.open("/etc/ld.so.conf"){|f| f.read }.split("\s")
-	x.delete_if { x.length==0 }
-	x
+	File.open("/etc/ld.so.conf"){|f| f.read }.split("\s").find_all {|line| line!="" }
 end
 
 def epath x; (ENV[x]||"").split(":") end



More information about the Gridflow-cvs mailing list