Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gregkh/gregkh-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkh committed Sep 26, 2012
2 parents 1bf1b13 + ff1e4cc commit 4319d91
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions work/do.sh
Expand Up @@ -160,10 +160,16 @@ echo "BRANCH=$BRANCH"
# don't want to accidentally send them out twice
OLD_PATCH=`ls 0*.patch 2>/dev/null | head -n 1`
if [ "${OLD_PATCH}" != "" ] ; then
echo "ERROR!!!"
echo "There are old patches still in the directory,"
echo "clean them up before running this again."
exit
echo "WARNING: There are old patches still in the directory:"
for P in 0*.patch; do
echo " ${P}"
done
echo ""
echo "I will clean them up if you don't stop the script right now."
echo -n "[ret] to continue"
read
rm 0*.patch
#exit
fi

PWD=`pwd`
Expand Down

0 comments on commit 4319d91

Please sign in to comment.