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>
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