[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1484 - glibc-package/trunk/debian/debhelper.in



Author: aurel32
Date: 2006-05-17 14:00:04 +0000 (Wed, 17 May 2006)
New Revision: 1484

Modified:
   glibc-package/trunk/debian/debhelper.in/libc-otherbuild.postinst
Log:
More proper fix for bug #364666



Modified: glibc-package/trunk/debian/debhelper.in/libc-otherbuild.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-otherbuild.postinst	2006-05-17 03:42:11 UTC (rev 1483)
+++ glibc-package/trunk/debian/debhelper.in/libc-otherbuild.postinst	2006-05-17 14:00:04 UTC (rev 1484)
@@ -18,7 +18,7 @@
 
     if [ -f /etc/ld.so.hwcappkgs ]; then
 	rm -f /etc/ld.so.hwcappkgs.tmp
-	cat /etc/ld.so.hwcappkgs | while read LINE; do
+	(while read LINE; do
 	    case $LINE in
 		\#*|"") continue
 	    esac
@@ -36,7 +36,7 @@
 		fi
 	    fi
 	    echo "$pkg $ver" >> /etc/ld.so.hwcappkgs.tmp
-	done < /etc/ld.so.hwcappkgs
+	done) < /etc/ld.so.hwcappkgs
 	if [ "$isrecorded" != yes ]; then
 	    echo "$opt $curver" >> /etc/ld.so.hwcappkgs.tmp
 	fi



Reply to: