Whamcloud - gitweb
Land b_release_1_4_6 onto HEAD (20060223_1429)
[fs/lustre-release.git] / build / clearpatches.sh
index de31352..a0f5741 100644 (file)
@@ -1,6 +1,7 @@
-SERIESPATH=./series
-PATCHESPATH=./patches
-NOUSEPATH=./nousepatches
+BASEDIR=${BASEDIR:-lustre/kernel_patches}
+SERIESPATH=${SERIESPATH:-$BASEDIR/series}
+PATCHESPATH=${PATCHESPATH:-$BASEDIR/patches}
+NOUSEPATH=${NOUSEPATH:-$BASEDIR/unused}
 
 #mkdir -p $NOUSEPATH
 for PATCH in `ls $PATCHESPATH | grep -v CVS` ; do