summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDT Netsolution GmbH <[email protected]>2012-04-23 09:11:37 (GMT)
committer DT Netsolution GmbH <[email protected]>2012-04-23 09:11:37 (GMT)
commit89edef81d03173603da864137a30b9301704758f (patch)
tree06cd26a2e2b32f6346ead8430d61838162edb0fb
parent5f7116aaf71401b48b94386fd40c78f8669b067b (diff)
Problems with "." inside PN - fixed
-rw-r--r--lib/builder-targets.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh
index 7283248..c2b167c 100644
--- a/lib/builder-targets.sh
+++ b/lib/builder-targets.sh
@@ -324,7 +324,8 @@ EOF
# determinte max version to delete
local limit
- eval "`echo limit=\\$\\{OPSI_REPOS_PURGE_LIMIT_${PN}\\}`"
+ local pn_limit=`echo ${PN} | sed "s/\./_/g"`
+ eval "`echo limit=\\$\\{OPSI_REPOS_PURGE_LIMIT_${pn_limit}\\}`"
if [ -z "$limit" ] || [ ! `expr $limit + 1 2>/dev/null` ] ; then
limit=${OPSI_REPOS_PURGE_LIMIT}
fi

Powered by Domaintechnik.at | Hosting - Domain - Webspace