From 19667f7acd0ae4cc8bc355beb43ad720d00cd2df Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 25 May 2010 15:45:47 -0700 Subject: [PATCH] compat-wireless: only copy existing Kconfig files If no Kconfig file exist don't try to copy it to avoid the warning. Signed-off-by: Luis R. Rodriguez --- scripts/admin-update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index 8ff64cd32ddb..d93c5b0e4a36 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -296,7 +296,9 @@ for i in $DRIVERS; do echo "Copying $GIT_TREE/$i/*.[ch]" cp $GIT_TREE/$i/*.[ch] $i/ cp $GIT_TREE/$i/Makefile $i/ - cp $GIT_TREE/$i/Kconfig $i/ + if [ -f $GIT_TREE/$i/Kconfig ]; then + cp $GIT_TREE/$i/Kconfig $i/ + fi rm -f $i/*.mod.c done -- 2.30.2