[Trisquel-devel] Rev 50: Removed hardcoded paths from makepending in file:///home/bzr/package-helpers/trunk/

Ruben Rodriguez ruben at trisquel.info
Fri Jun 1 05:11:08 CEST 2012


At file:///home/bzr/package-helpers/trunk/

------------------------------------------------------------
revno: 50
revision-id: ruben en trisquel.info-20120601031016-a920xympf0i6knnr
parent: ruben en trisquel.info-20120531172030-1l6816xlu332m01d
committer: Ruben Rodriguez <ruben en trisquel.info>
branch nick: trunk
timestamp: Fri 2012-06-01 05:10:16 +0200
message:
  Removed hardcoded paths from makepending
------------ pr�xima parte ------------
=== modified file 'makepending'
--- a/makepending	2012-02-07 19:26:50 +0000
+++ b/makepending	2012-06-01 03:10:16 +0000
@@ -63,17 +63,17 @@
     listmirror $i-security universe >> $i
 done
 
-MIRROR="http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.04/"
-
-listsweets >> sweets-natty
-
-MIRROR="ftp://localhost/trisquel"
+#MIRROR="http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.04/"
+
+#listsweets >> sweets-natty
+
+MIRROR="ftp://archive.trisquel.info/trisquel"
 
 for i in main extras
 do
-    listmirror robur main >> robur
-    listmirror robur-updates main >> robur
-    listmirror robur-security main >> robur
+    listmirror robur $i >> robur
+    listmirror robur-updates $i >> robur
+    listmirror robur-security $i >> robur
 done
 
 for i in taranis slaine dagda brigantia
@@ -85,9 +85,9 @@
 
 MIRROR="http://devel.trisquel.info/trisquel/hardy"
 listmirror hardy main >> robur
-MIRROR="http://devel.trisquel.info/trisquel/jaunty"
+#MIRROR="http://devel.trisquel.info/trisquel/jaunty"
 #listmirror jaunty main >> dwyn
-MIRROR="http://devel.trisquel.info/trisquel/karmic"
+#MIRROR="http://devel.trisquel.info/trisquel/karmic"
 #listmirror karmic main >> awen
 MIRROR="http://devel.trisquel.info/trisquel/lucid"
 listmirror lucid main >> taranis
@@ -144,7 +144,7 @@
 
     echo Running makepackage $package $UPSTREAM at $(date)
     echo Running makepackage $package $UPSTREAM at $(date) $LOGS/$package-$UPSTREAM-$(date +%Y%m%d).log 1>&2
-    $TEST sh /home/systems/devel/makepackage $package $UPSTREAM > $LOGS/$package-$UPSTREAM-$(date +%Y%m%d).log && echo -n Done! || echo -n FAILED!
+    $TEST sh $WD/makepackage $package $UPSTREAM > $LOGS/$package-$UPSTREAM-$(date +%Y%m%d).log && echo -n Done! || echo -n FAILED!
     echo " ($(date))"
     echo
 fi
@@ -155,44 +155,33 @@
 
 DISTRO="robur"
 UPSTREAM="hardy"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
 check >> $FILE
 
-#DISTRO="dwyn"
-#UPSTREAM="jaunty"
-#PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
-#check >> $FILE
-
-#DISTRO="awen"
-#UPSTREAM="karmic"
-#PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
-#check >> $FILE
-
 DISTRO="taranis"
 UPSTREAM="lucid"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
 check >> $FILE
 
 DISTRO="slaine"
 UPSTREAM="maverick"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
 check >> $FILE
 
 DISTRO="dagda"
 UPSTREAM="natty"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
 check >> $FILE
 
 DISTRO="brigantia"
 UPSTREAM="oneiric"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
-check >> $FILE
-
-
-DISTRO="dagda"
-UPSTREAM="sweets-natty"
-PACKAGES=$(ls -1 /home/systems/devel/helpers/natty/make-sweets* | sed 's:^.*/::; s:make-::')
-check >> $FILE
+PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+check >> $FILE
+
+#DISTRO="dagda"
+#UPSTREAM="sweets-natty"
+#PACKAGES=$(ls -1 $WD/helpers/$UPSTREAM/make-* | sed 's:^.*/::; s:make-::')
+#check >> $FILE
 
 report () {
 #address=trisquel-devel en listas.trisquel.info



More information about the Trisquel-devel mailing list