summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/patchfns.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index d3e5d25..8649dfc 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -54,7 +54,10 @@ then
unset basedir
fi
-if [ -e $QUILT_PC/series ]
+if [ -n "$QUILT_SERIES" ]
+then
+ SERIES=$QUILT_SERIES
+elif [ -e $QUILT_PC/series ]
then
SERIES=$QUILT_PC/series
elif [ -e series ]