diff options
author | Mark Allen <[email protected]> | 2016-05-02 12:11:11 -0500 |
---|---|---|
committer | Mark Allen <[email protected]> | 2016-05-02 12:11:11 -0500 |
commit | 9f0c9a5fae4150d55d9cfe7366ac08c331379596 (patch) | |
tree | 62bea9fdf9a36b849236de1f9c7f5e93f74578f8 | |
parent | 55f2f818a1864fcd2b479e66a5af44132bdb2ad6 (diff) | |
download | kerl-9f0c9a5fae4150d55d9cfe7366ac08c331379596.tar.gz kerl-9f0c9a5fae4150d55d9cfe7366ac08c331379596.tar.bz2 kerl-9f0c9a5fae4150d55d9cfe7366ac08c331379596.zip |
Use '=' for equality
-rwxr-xr-x | kerl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -160,7 +160,7 @@ if [ $# -eq 0 ]; then usage; fi get_releases() { - if [ "$KERL_BUILD_BACKEND" == "git" ] + if [ "$KERL_BUILD_BACKEND" = "git" ] then echo "Getting the available releases from github.com..." get_git_releases @@ -189,7 +189,7 @@ get_tarball_releases() update_checksum_file() { - if [ "$KERL_BUILD_BACKEND" == "git" ]; + if [ "$KERL_BUILD_BACKEND" = "git" ]; then return 0 else @@ -829,7 +829,7 @@ do_active() download() { mkdir -p "$KERL_DOWNLOAD_DIR" - if [ "$KERL_BUILD_BACKEND" == "git" ]; then + if [ "$KERL_BUILD_BACKEND" = "git" ]; then FILENAME="OTP-$1" github_download "$FILENAME.tar.gz" else |