summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Blumenbach2015-06-30 21:10:08 +0200
committerTilman Blumenbach2015-06-30 21:10:08 +0200
commit4c3228c184293c8997375b2c43de28eba4a012da (patch)
tree730eec983b3a07e29857a87036fa8ca4f8026c10
parent4e1c9bd00b1da1a7cfcf7070affe7593a12dc2a2 (diff)
downloadaur-4c3228c184293c8997375b2c43de28eba4a012da.tar.gz
Replace hyphens in pkgver with underscores in order to make it valid.
-rwxr-xr-xget_latest_info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/get_latest_info.py b/get_latest_info.py
index 40226968fb4c..2eacd2a2a032 100755
--- a/get_latest_info.py
+++ b/get_latest_info.py
@@ -89,6 +89,7 @@ if url is None:
sys.exit(3)
+version = version.replace("-", "_")
url = parsed_args.url_prefix + url
if not parsed_args.pkgbuild: