From: Max Bowsher <maxb@f2s.com>
To: "Luis R. Rodriguez" <mcgrof@winlab.rutgers.edu>
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory
Date: Fri, 13 Mar 2009 21:52:40 +0000 [thread overview]
Message-ID: <49BAD5A8.4040406@f2s.com> (raw)
[-- 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 --]
next reply other threads:[~2009-03-13 22:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 21:52 Max Bowsher [this message]
2009-03-13 22:11 ` [PATCH] compat-2.6: Fix admin-update.sh creating spurious include/linux/unaligned/unaligned/ directory Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49BAD5A8.4040406@f2s.com \
--to=maxb@f2s.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@winlab.rutgers.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.