From 4eac99b54a2febbdde16759454beeb9bf17e76d6 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Thu, 18 Jun 2015 18:55:45 +0200
Subject: [PATCH] Do not break if debian/patches/series has no active patches

---
 helpers/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/config b/helpers/config
index ad688e09..eae3c07e 100755
--- a/helpers/config
+++ b/helpers/config
@@ -136,7 +136,7 @@ fi
 
 if [ 1$QUILT != 1skip ]; then
 export QUILT_PATCHES=debian/patches
-[ -s debian/patches/series ] && quilt push -a
+grep -qv '^#' debian/patches/series 2>/dev/null && quilt push -a
 fi
 
 cd ..
-- 
GitLab