diff options
author | XZS | 2016-02-16 12:23:42 +0100 |
---|---|---|
committer | XZS | 2016-02-16 12:23:42 +0100 |
commit | cd6a2a33eebd2a7665e6a8a7ce59945b8b805f07 (patch) | |
tree | 1daa78137a5a59fe05678a0c0288500398d4c963 /PKGBUILD | |
parent | ffb53ade2c3dcb2b5af5ea26a226a24d59f2b815 (diff) | |
download | aur-cd6a2a33eebd2a7665e6a8a7ce59945b8b805f07.tar.gz |
start search in git directory
This line was accidentally deleted when augmenting the sed call below
with find, but is necessary for git operations further down the pkgver
function.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ query-version() { } pkgver() { + cd "$_gitname" find -iname '*.json' -exec sed -n \ 's/.*"version"\s*:\s*"\([[:digit:].]*\)"\s*,.*/\1/p' \ '{}' \; -quit 2>/dev/null | tr '\n' '.' |