compat-wireless: fix directory copying in admin-update.sh
PATCH 1/1 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 <[email protected]>
--- scripts/admin-update.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
scripts/admin-update.sh +2 -2
@@ -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/
Signature · 1 line
1.7.3.2
Luis R. Rodriguez
AppliedQuoted 5 lines · Felix Fietkau
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 <[email protected]>
thanks applied and pushed!
Luis