r4608 - dists/trunk/linux-2.6/debian/bin

Bastian Blank waldi at costa.debian.org
Sun Oct 23 11:32:54 UTC 2005


Author: waldi
Date: 2005-10-23 11:32:53 +0000 (Sun, 23 Oct 2005)
New Revision: 4608

Modified:
   dists/trunk/linux-2.6/debian/bin/install-header
Log:
debian/bin/install-header: Bah, bash arrays don't work this way.


Modified: dists/trunk/linux-2.6/debian/bin/install-header
===================================================================
--- dists/trunk/linux-2.6/debian/bin/install-header	2005-10-23 11:10:44 UTC (rev 4607)
+++ dists/trunk/linux-2.6/debian/bin/install-header	2005-10-23 11:32:53 UTC (rev 4608)
@@ -13,17 +13,17 @@
 
 # XXX: once we're using a linux-headers-$(version)-$(debnum) that's Arch: all,
 # we'll want to drop this bit of code.  The asm-* directories should remain.
-DIRS="generic $KERNEL_HEADER_DIRS"
-DIRS=($DIRS)
+DIRS="generic $(for i in $KERNEL_HEADER_DIRS; do echo -n '|' $i; done)"
 
 rm -f include/asm
+eval "
 for i in include/asm-*; do
-	case ${i#include/asm-} in
+	case \${i#include/asm-} in
 	$DIRS)
 		;;
 	*)
-		rm -rf "$i"
+		rm -rf "\$i"
 		;;
 	esac
 done
-
+"




More information about the Kernel-svn-changes mailing list