diff options
author | Erich Eckner <git@eckner.net> | 2019-07-22 13:16:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-22 14:37:26 +0200 |
commit | 329f3ddd098e28b8c51edb392fcb155775ee76bc (patch) | |
tree | cd7c36b2afad24d7bbf85e6a52850b2264148e33 | |
parent | 00430baf58b191cc886b15efd1eb04b8cc89a7dc (diff) | |
download | archlinuxewe-329f3ddd098e28b8c51edb392fcb155775ee76bc.tar.xz |
checkVersions: repair archive-server source parsing
-rwxr-xr-x | checkVersions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions index 5f1663466..3a8248652 100755 --- a/checkVersions +++ b/checkVersions @@ -230,10 +230,10 @@ then remVer=$( git -C "/usr/src/skripte/archive-server/work/repositories/git/${remDir}" tag \ | sed ' - s/^[^0-9.*]*\('"$( + s/^[^0-9.*]*'"$( printf '%s\n' "$remTag" \ - | sed 's/[0-9.]\+$/[0-9.]\\+/' - )"'\)$/\1/ + | sed 's/[0-9.]\+$/\\([0-9.]\\+\\)/' + )"'$/\1/ t d ' \ |