mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
Fix check_version_simple for newer versions of bash
Apparently the variable substitution no longer works inside '', breaking the check_update script. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
87f661ff6c
commit
7e1857c35a
1 changed files with 1 additions and 1 deletions
|
@ -38,6 +38,6 @@ check_update_simple() {
|
|||
local suffix="$3"
|
||||
|
||||
curl --silent -L "$url" | grep -o ">$prefix-[0-9.]*$suffix<" | \
|
||||
sed 's/>$prefix-//g' | sed 's/.$suffix<//g' | \
|
||||
sed "s/>$prefix-//g" | sed "s/.$suffix<//g" | \
|
||||
verson_find_greatest "$VERSION"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue