From 951713f351a6541ef50fedc6ded21564d0390671 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 2 Feb 2006 22:34:43 +0000 Subject: [PATCH] Branch b_release_1_4_6 ALlow default paths for patch-verification scripts. --- build/clearpatches.sh | 7 ++++--- build/confirmpatches.sh | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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 diff --git a/build/confirmpatches.sh b/build/confirmpatches.sh index c9cb699..1c160da 100644 --- a/build/confirmpatches.sh +++ b/build/confirmpatches.sh @@ -1,5 +1,6 @@ -SERIESPATH=./series -PATCHESPATH=./patches +BASEDIR=${BASEDIR:-lustre/kernel_patches} +SERIESPATH=${SERIESPATH:-$BASEDIR/series} +PATCHESPATH=${PATCHESPATH:-$BASEDIR/patches} for SERIES in `ls $SERIESPATH | egrep -v "CVS|~$|.orig"` ; do #echo $SERIES for PATCH in `cat $SERIESPATH/$SERIES`; do -- 1.8.3.1