From cc247520053e9ef236f790f1b60147ec107af41d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info>
Date: Fri, 21 Nov 2014 19:09:41 +0100
Subject: [PATCH] Fixed localdepends

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

diff --git a/helpers/config b/helpers/config
index b8125619..337b7728 100755
--- a/helpers/config
+++ b/helpers/config
@@ -88,7 +88,7 @@ deb-src $MIRROR $UPSTREAM-security main universe
 #deb $LOCALMIRROR $CODENAME-updates main
 #deb $LOCALMIRROR $CODENAME-security main
 
-#deb $DEVELMIRROR $CODENAME main
+deb $DEVELMIRROR $CODENAME main
 #deb-src $DEVELMIRROR $CODENAME main
 EOF
 
@@ -123,7 +123,7 @@ done
 compile(){
 if [ 1$LOCALDEPENDS = 1true ]
 then
-    DEPENDS=$(/bin/sed -n '/Build-Dep/,/^[a-zA-W0-9]/ p' debian/control | head -n -1 | /bin/sed 's/.*://; s/(.*)//; s/,//g' |xargs echo -n)
+    DEPENDS=$(/bin/sed -n '/Build-Dep/,/^[a-zA-W0-9]/ p' debian/control | head -n -1 | /bin/sed 's/.*://; s/(.*)//; s/\[.*\]//; s/,//g' |xargs echo -n)
     echo Installing Build-Depends: $DEPENDS
     apt-get --force-yes -y install $DEPENDS
 fi
-- 
GitLab