Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 44028 | Differences between
and this patch

Collapse All | Expand All

(-)1/pym/portage.py (-2 / +6 lines)
Lines 666-673 Link Here
666
		myfd=open(root+"etc/ld.so.conf","w")
666
		myfd=open(root+"etc/ld.so.conf","w")
667
		myfd.write("# ld.so.conf autogenerated by env-update; make all changes to\n")
667
		myfd.write("# ld.so.conf autogenerated by env-update; make all changes to\n")
668
		myfd.write("# contents of /etc/env.d directory\n")
668
		myfd.write("# contents of /etc/env.d directory\n")
669
		for x in specials["LDPATH"]:
669
		# python's 'for x in _some_array_' is like gawk's, in the sence that it
670
			myfd.write(x+"\n")
670
		# returns all the elements of the array, but sorted alphabetically, which
671
		# is a no-no for ls.so.conf (bug #44028), thus we have to handle it
672
		# somewhat differently ...
673
		for x in range(0, len(specials["LDPATH"])):
674
			myfd.write(specials["LDPATH"][x]+"\n")
671
		myfd.close()
675
		myfd.close()
672
		ld_cache_update=True
676
		ld_cache_update=True
673
677

Return to bug 44028