X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Fclearpatches.sh;h=a0f574133119e0914e04a1720bde7d4abca6f2dd;hp=de31352b8375df7ea82fec4885036f6dc369f9ac;hb=a296e9433919a6d709ae7826ecc5310d9e2d1365;hpb=85be04a556acc0d0cd83de7579c81d73a8f449db diff --git a/build/clearpatches.sh b/build/clearpatches.sh index de31352..a0f5741 100644 --- a/build/clearpatches.sh +++ b/build/clearpatches.sh @@ -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