From b26c82ae2fda71358129b9c44ff1899ee486f8c6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 27 Feb 2012 15:51:44 +0100 Subject: [PATCH] compat-wireless: fix directory copying in admin-update.sh On my system the trailing slash leads to the directory contents being copied to the target instead of the full directory, which results in breakage during build. Signed-off-by: Felix Fietkau Signed-off-by: Luis R. Rodriguez --- scripts/admin-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index 369cc9619ebd..34022b7e1d2c 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -425,8 +425,8 @@ mkdir -p $COMPAT echo "Copying $GIT_COMPAT_TREE/ files..." cp $GIT_COMPAT_TREE/compat/*.c $COMPAT/ cp $GIT_COMPAT_TREE/compat/Makefile $COMPAT/ -cp -a $GIT_COMPAT_TREE/udev/ . -cp -a $GIT_COMPAT_TREE/scripts/ $COMPAT/ +cp -a $GIT_COMPAT_TREE/udev . +cp -a $GIT_COMPAT_TREE/scripts $COMPAT/ cp -a $GIT_COMPAT_TREE/include/linux/* include/linux/ cp -a $GIT_COMPAT_TREE/include/net/* include/net/ cp -a $GIT_COMPAT_TREE/include/trace/* include/trace/ -- 2.30.2