Browse Source

Change --$var to $var-1 for Alpine

pull/622/head
Tim Kimber 5 years ago
parent
commit
3fb75d493f
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/32-test-upgrade.bats

+ 1
- 1
test/32-test-upgrade.bats View File

@ -9,7 +9,7 @@ load '/getssl/test/test_helper.bash'
setup() {
export CURL_CA_BUNDLE=/root/pebble-ca-bundle.crt
CURRENT_VERSION=$(awk -F '"' '$1 == "VERSION=" {print $2}' ${CODE_DIR}/getssl)
PREVIOUS_VERSION=$(echo ${CURRENT_VERSION} | awk -F. '{ print $1 "." --$2}')
PREVIOUS_VERSION=$(echo ${CURRENT_VERSION} | awk -F. '{ print $1 "." $2-1}')
run git clone https://github.com/srvrco/getssl.git "$INSTALL_DIR/upgrade-getssl"
}


Loading…
Cancel
Save