Skip to content
Snippets Groups Projects
Commit cc247520 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Fixed localdepends

parent b7536407
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ deb-src $MIRROR $UPSTREAM-security main universe ...@@ -88,7 +88,7 @@ deb-src $MIRROR $UPSTREAM-security main universe
#deb $LOCALMIRROR $CODENAME-updates main #deb $LOCALMIRROR $CODENAME-updates main
#deb $LOCALMIRROR $CODENAME-security main #deb $LOCALMIRROR $CODENAME-security main
#deb $DEVELMIRROR $CODENAME main deb $DEVELMIRROR $CODENAME main
#deb-src $DEVELMIRROR $CODENAME main #deb-src $DEVELMIRROR $CODENAME main
EOF EOF
...@@ -123,7 +123,7 @@ done ...@@ -123,7 +123,7 @@ done
compile(){ compile(){
if [ 1$LOCALDEPENDS = 1true ] if [ 1$LOCALDEPENDS = 1true ]
then 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 echo Installing Build-Depends: $DEPENDS
apt-get --force-yes -y install $DEPENDS apt-get --force-yes -y install $DEPENDS
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment