compat-wireless: fix admin-update.sh for stable cherry picks
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 10 Dec 2010 17:55:39 +0000 (09:55 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 11 Dec 2010 01:00:16 +0000 (17:00 -0800)
The wrong directory (none) was being purched on the linux-next/
directory tree, so old pending-stable/ patches were being copied
over.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/admin-update.sh

index 254792846c686c10d5d3ad36b354038e233233aa..4bda0ef09e2403f2aa6f370d97eac3c810f0e0b0 100755 (executable)
@@ -440,7 +440,7 @@ if [[ "$GET_STABLE_PENDING" = y ]]; then
        cd $NEXT_TREE
        PENDING_STABLE_DIR="pending-stable/"
 
-       rm -rf $CHERRY_PICK_DIR
+       rm -rf $PENDING_STABLE_DIR
        echo -e "${GREEN}Generating stable cherry picks... ${NORMAL}"
        git format-patch --grep="stable@kernel.org" -o $PENDING_STABLE_DIR ${LAST_STABLE_UPDATE}.. $WSTABLE
        if [ ! -d ${LAST_DIR}/${PENDING_STABLE_DIR} ]; then