diff options
author | Erich Eckner <git@eckner.net> | 2018-08-10 11:01:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-08-10 11:01:44 +0200 |
commit | ed5dc53c92ebfa979efb497f18685fcd5c4d9207 (patch) | |
tree | f7469c8b6738cd275df9718b94fb029fa9e16512 /manualPorts/runjobsparallel | |
parent | c63d1f565436f5985f84b1b4c8eeb98da136bfa0 (diff) | |
download | crux-ports-ed5dc53c92ebfa979efb497f18685fcd5c4d9207.tar.xz |
opensources.eckner.net -> git.eckner.net
Diffstat (limited to 'manualPorts/runjobsparallel')
-rwxr-xr-x | manualPorts/runjobsparallel/lastVersion.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manualPorts/runjobsparallel/lastVersion.sh b/manualPorts/runjobsparallel/lastVersion.sh index 7a16a39..1147c0d 100755 --- a/manualPorts/runjobsparallel/lastVersion.sh +++ b/manualPorts/runjobsparallel/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=runjobsparallel" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^runjobsparallel-" | \ - sed "s|^runjobsparallel-||" | \ +curl -Ss "https://git.eckner.net/Erich/$(basename "${0%/*}")/refs/" | \ + tr '<>' '\n' | \ + sed -n " + s,^a href='/Erich/$(basename "${0%/*}")/snapshot/$(basename "${0%/*}")-\([0-9.]\+\)\.tar\.xz'$,\1, + T + p + " | \ sort -V | \ tail -n1 |