Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ee36ef878386e2425b7f264337da0f74cafe8127
[fs/lustre-release.git]
/
lustre
/
scripts
/
clearpatches.sh
1
SERIESPATH=./series
2
PATCHESPATH=./patches
3
NOUSEPATH=./nousepatches
4
5
mkdir -p $NOUSEPATH
6
for PATCH in `ls $PATCHESPATH` ; do
7
echo $PATCH
8
if ! grep -r $PATCH $SERIESPATH ; then
9
echo "$PATCH was not in use !"
10
mv $PATCHESPATH/$PATCH $NOUSEPATH
11
fi
12
done