debian/bin/install-header: Bah, bash arrays don't work this way.
svn path=/dists/trunk/linux-2.6/; revision=4608
This commit is contained in:
parent
b4cc36af8f
commit
65ee433593
|
@ -13,17 +13,17 @@ rm -rf scripts
|
|||
|
||||
# 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
|
||||
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue