summaryrefslogtreecommitdiffstats
path: root/quilt/scripts/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'quilt/scripts/patchfns.in')
-rw-r--r--quilt/scripts/patchfns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
index 9528d2c..2b3d515 100644
--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
@@ -1097,10 +1097,10 @@ fi
if [ "${QUILT_SERIES:0:1}" = / ]
then
SERIES=$QUILT_SERIES
-elif [ -e $QUILT_PC/$QUILT_SERIES ]
+elif [ -f $QUILT_PC/$QUILT_SERIES ]
then
SERIES=$QUILT_PC/$QUILT_SERIES
-elif [ -e $QUILT_SERIES ]
+elif [ -f $QUILT_SERIES ]
then
SERIES=$QUILT_SERIES
else