aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
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 /trunk/src
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
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/simplaret4
1 files changed, 2 insertions, 2 deletions
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
}