r3990 - branches/dist/sid/kernel/linux-2.6/debian/templates
Bastian Blank
waldi at costa.debian.org
Fri Aug 19 17:19:54 UTC 2005
Author: waldi
Date: 2005-08-19 17:19:53 +0000 (Fri, 19 Aug 2005)
New Revision: 3990
Modified:
branches/dist/sid/kernel/linux-2.6/debian/templates/post-install.in
Log:
debian/templates/post-install.in: Make xargs to not call ln if no file is available.
Modified: branches/dist/sid/kernel/linux-2.6/debian/templates/post-install.in
===================================================================
--- branches/dist/sid/kernel/linux-2.6/debian/templates/post-install.in 2005-08-19 15:21:47 UTC (rev 3989)
+++ branches/dist/sid/kernel/linux-2.6/debian/templates/post-install.in 2005-08-19 17:19:53 UTC (rev 3990)
@@ -88,10 +88,10 @@
find include/asm-$arch -mindepth 1 -maxdepth 1 \
\( -type f -a ! -links 2 -o ! -type f \) \
-printf "../../../linux-headers-$prefix/%p\n" |
- xargs ln -s --target-directory=$dir/include/asm-$arch
+ xargs --no-run-if-empty ln -s --target-directory=$dir/include/asm-$arch
find include/asm-$arch -mindepth 1 -maxdepth 1 \
-type f -links 2 |
- xargs ln -f --target-directory=$dir/include/asm-$arch
+ xargs --no-run-if-empty ln -f --target-directory=$dir/include/asm-$arch
for i in include/asm-*
do
case ${i#include/asm-} in
More information about the Kernel-svn-changes
mailing list