* [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory
@ 2009-03-13 21:52 Max Bowsher
2009-03-13 22:11 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Max Bowsher @ 2009-03-13 21:52 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]
Hi,
I noticed that if compat-wireless-2.6's admin-update.sh is run twice in
a row without cleaning, it erroneously copies the
include/linux/unaligned/* files into an
include/linux/unaligned/unaligned/ directory.
Patch below making trivial changes to the script to avoid this.
Thanks,
Max.
If admin-update.sh was run twice without an admin-clean.sh, a spurious
additional /unaligned/ path component was created.
---
scripts/admin-update.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 8eeef89..b40a5d6 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -67,6 +67,7 @@ DRIVER_FILES="$DRIVER_FILES mac80211_hwsim.c"
DRIVER_FILES="$DRIVER_FILES at76c50x-usb.c at76c50x-usb.h"
mkdir -p include/linux/ include/net/ include/linux/usb \
+ include/linux/unaligned \
net/mac80211/ net/wireless/ \
drivers/ssb/ \
drivers/net/usb/ \
@@ -139,7 +140,7 @@ cp $GIT_TREE/$DIR/Makefile $DIR
DIR="include/linux/unaligned"
echo "Copying $GIT_TREE/$DIR/*"
-cp -a $GIT_TREE/$DIR $DIR
+cp $GIT_TREE/$DIR/* $DIR
# Compat stuff
--
1.6.0.4
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory
2009-03-13 21:52 [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory Max Bowsher
@ 2009-03-13 22:11 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-03-13 22:11 UTC (permalink / raw)
To: Max Bowsher; +Cc: linux-wireless
On Fri, Mar 13, 2009 at 2:52 PM, Max Bowsher <maxb@f2s.com> wrote:
> Hi,
>
> I noticed that if compat-wireless-2.6's admin-update.sh is run twice in
> a row without cleaning, it erroneously copies the
> include/linux/unaligned/* files into an
> include/linux/unaligned/unaligned/ directory.
>
> Patch below making trivial changes to the script to avoid this.
>
> Thanks,
> Max.
Thanks applied.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-13 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 21:52 [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory Max Bowsher
2009-03-13 22:11 ` Luis R. Rodriguez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.