aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-10 14:56:53 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-10 14:56:53 +0000
commit74912bb1eb1076a1b6a6ffac18886f51f0a2885a (patch)
tree8fd2d577df9bb71097353c1f04a2b62c3d72a37b
parentd960adcc39476f0f3078db0fb108091bd47fb083 (diff)
downloadsimplepkg-74912bb1eb1076a1b6a6ffac18886f51f0a2885a.tar.gz
simplepkg-74912bb1eb1076a1b6a6ffac18886f51f0a2885a.tar.bz2
fixing bug introduced at changeset:730
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@742 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/mkbuild/model.mkbuild1
-rwxr-xr-xtrunk/src/simplaret4
2 files changed, 3 insertions, 2 deletions
diff --git a/trunk/mkbuild/model.mkbuild b/trunk/mkbuild/model.mkbuild
index be12e23..fe140ba 100644
--- a/trunk/mkbuild/model.mkbuild
+++ b/trunk/mkbuild/model.mkbuild
@@ -114,6 +114,7 @@
#[[SIGNING URL]]=""
#[[CONFIG FILES]]=""
#[[PATCH URLS]]=""
+#[[REST OF DOINST.SH]]=""
[[PATCH FILES]]=""
[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index 4068242..5a71768 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -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
}