Skip to content

Commit

Permalink
fix debian.series using patches with patch levels
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jul 7, 2016
1 parent cfadcb0 commit a6ff89d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 20-files-present-and-referenced
Expand Up @@ -162,7 +162,10 @@ for i in $DIR_TO_CHECK/*.dsc ; do
done

# Add debian only patches to the allowed sources list.
test -f $DIR_TO_CHECK/debian.series && egrep -v -e '^$' -e '^ #' -e '^#' $DIR_TO_CHECK/debian.series >> $TMPDIR/sources
# but strip tailing -p1 arguments
test -f $DIR_TO_CHECK/debian.series && \
sed -e '/^$/d' -e '/^#/d' -e 's,[ \t]*-p[0123456789]*$,,' \
$DIR_TO_CHECK/debian.series >> $TMPDIR/sources

test -f $TMPDIR/sources || cleanup_and_exit

Expand Down

0 comments on commit a6ff89d

Please sign in to comment.