From 2f11d75a68b9f5f37a50f8770c78bac6bb0f5427 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 25 Jun 2021 12:40:59 -0400
Subject: [PATCH] Make sure the series file is formated correctly after
 removals (plus removed deprecated code)

---
 helpers/config | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/helpers/config b/helpers/config
index e4e138b36..2b60bfa2b 100755
--- a/helpers/config
+++ b/helpers/config
@@ -182,13 +182,8 @@ cd source
 
 compile(){
 
-
-PROCESSORS=1
-if [ 1$PARALLEL != "1false" ]
-then
-    PROCESSORS=$(grep processor /proc/cpuinfo | wc -l)
-fi
-
+# Make sure the series file is formated correctly after removals
+grep -q [a-z] debian/patches/series || echo -n > debian/patches/series
 
 if [ 1$QUILT != 1skip ]; then
 export QUILT_PATCHES=debian/patches
-- 
GitLab