compat-2.6: Fix admin-update.sh creating spurious unaligned/unaligned/ directory
authorMax Bowsher <maxb@f2s.com>
Fri, 13 Mar 2009 21:52:40 +0000 (21:52 +0000)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 13 Mar 2009 21:09:04 +0000 (14:09 -0700)
commit66f0e82be433c5f54941af7166fab74ab11c7d5a
treefc6a02e05524fb43d01bfd4378932409b8e84715
parentcaddddc3f8713d229c2df1a7138d205a67391773
compat-2.6: Fix admin-update.sh creating spurious unaligned/unaligned/ directory

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.

If admin-update.sh was run twice without an admin-clean.sh, a spurious
additional /unaligned/ path component was created.

Signed-off-by: Max Bowsher <maxb@f2s.com>
scripts/admin-update.sh