#[[SIGNING URL]]=""
#[[CONFIG FILES]]=""
#[[PATCH URLS]]=""
+#[[REST OF DOINST.SH]]=""
[[PATCH FILES]]=""
[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
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
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
}