diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 23:08:33 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 23:08:33 +0200 |
commit | e89eaeb6efdd8280410be29a292543dd7d8ffdfc (patch) | |
tree | 883640f7bea7af2c3b379d37ea4ce44305241561 /xnuxnu | |
parent | 41698336e8eca90e5f5b539dc4bf4d9a41c7a3db (diff) | |
download | xtools-e89eaeb6efdd8280410be29a292543dd7d8ffdfc.tar.gz xtools-e89eaeb6efdd8280410be29a292543dd7d8ffdfc.tar.xz xtools-e89eaeb6efdd8280410be29a292543dd7d8ffdfc.zip |
xnuxnu: github flags ala foobar-1.0
Diffstat (limited to 'xnuxnu')
-rwxr-xr-x | xnuxnu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu index cbd4054..baa4886 100755 --- a/xnuxnu +++ b/xnuxnu @@ -29,7 +29,7 @@ void_version=$(./xbps-src show "$1" | sed -n '/^version/s/[^:]*:[\t]*//p') *github.com*) githubname="$(echo $url | cut -d/ -f4,5)" url="https://api.github.com/repos/$githubname/tags" - rx='"name":\s*"v?\K[^\d]*([\d\.]+)(?=")';; + rx='"name":\s*"(v|'"$pkgname"'-)?\K[^\d]*([\d\.]+)(?=")';; esac set -- $(grep "^${orig_pkgname} " xnuxnu-override) |