forked from coop-cloud/abra
fix: use right arg
This commit is contained in:
parent
0a550363b8
commit
b92fdbbd52
|
@ -54,7 +54,7 @@ function install_abra_release {
|
||||||
release_url=$(echo $json | sed -En $sed_command_rel)
|
release_url=$(echo $json | sed -En $sed_command_rel)
|
||||||
checksums_url=$(echo $json | sed -En $sed_command_checksums)
|
checksums_url=$(echo $json | sed -En $sed_command_checksums)
|
||||||
|
|
||||||
checksums=$(wget -q -0- $checksums_url)
|
checksums=$(wget -q -O- $checksums_url)
|
||||||
checksum=$(echo "$checksums" | grep "$FILENAME" - | sed -En 's/([0-9a-f]{64})\s+'"$FILENAME"'.*/\1/p')
|
checksum=$(echo "$checksums" | grep "$FILENAME" - | sed -En 's/([0-9a-f]{64})\s+'"$FILENAME"'.*/\1/p')
|
||||||
|
|
||||||
echo "downloading $ABRA_VERSION $PLATFORM binary release for abra..."
|
echo "downloading $ABRA_VERSION $PLATFORM binary release for abra..."
|
||||||
|
|
Loading…
Reference in New Issue