Make a safer version of default versionReferenceCreator in upstream data updater; use yet another version reference creator in xneur; check in correct URL for it

svn path=/nixpkgs/trunk/; revision=17211
This commit is contained in:
Michael Raskin
2009-09-17 05:18:19 +00:00
parent b592993513
commit 85ff50fe4a
3 changed files with 3 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ prefetchClause=""
mirrorUrl="$(echo "$freshUrl" |
eval "sed -r -e \"$(getAttr versionReferenceCreator \
's/-([0-9.]+)[.]/-${version}./')\"" |
's/-'"${version}"'[.]/-\${version}./')\"" |
eval "sed -r -e \"$(getAttr mirrorSedScript)\"")"
url="$mirrorUrl"