]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fixing bug introduced at changeset:730
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 10 Jan 2009 14:56:53 +0000 (14:56 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 10 Jan 2009 14:56:53 +0000 (14:56 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@742 04377dda-e619-0410-9926-eae83683ac58

trunk/mkbuild/model.mkbuild
trunk/src/simplaret

index be12e23ad8033fd5961c70075f67b30c563dd7f0..fe140ba3e1efc7a2e9ebb34c142610529e5344dc 100644 (file)
 #[[SIGNING URL]]=""
 #[[CONFIG FILES]]=""
 #[[PATCH URLS]]=""
+#[[REST OF DOINST.SH]]=""
 [[PATCH FILES]]=""
 [[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
 
index 40682426855df7ef281c886a9cd456323a4706fc..5a717687db75ef113cc80356568576bd834dcd87 100755 (executable)
@@ -179,7 +179,7 @@ function simplaret_download {
 
 function simplaret_repository {
 
-  # return a repository definition from $REPOS_CONF file
+  # return repository definitions from $REPOS_CONF file
   # usage: simplaret_repository [root|repos|noarch|patches]
 
   local definition
@@ -196,7 +196,7 @@ function simplaret_repository {
     definition="$definition-$ARCH"
   fi
 
-  grep -e "^$definition=" $REPOS_CONF | tail -n 1 | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | cut -d "#" -f 1
+  grep -e "^$definition=" $REPOS_CONF | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | cut -d "#" -f 1
 
 }