diff options
-rw-r--r-- | trunk/mkbuild/model.mkbuild | 1 | ||||
-rwxr-xr-x | trunk/src/simplaret | 4 |
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 } |