Skip to content

Commit

Permalink
Fixed typo on curl create causing spurious "1" file to be created.
Browse files Browse the repository at this point in the history
lots of random "1" files kept showing on system containing "/usr/bin/curl".  Apologies to all.
  • Loading branch information
Karl Bishop authored Dec 5, 2017
1 parent 5eea887 commit d6229d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux-installer/idt-installer
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Copyright (c) 2017, International Business Machines. All Rights Reserved.
#------------------------------------------------------------------------------

VERSION="1.0.1"
VERSION="1.0.2"
PROG="IBM Cloud Developer Tools - Installer"
INSTALLER_URL="https://ibm.biz/idt-installer"
GIT_URL="https://github.com/IBM-Bluemix/ibm-cloud-developer-tools"
Expand Down Expand Up @@ -190,7 +190,7 @@ function install_deps {
[[ -z "$(which brew)" ]] && USEBREW=false

# Install curl if not already installed.
if ! $(which curl >/dev/null 2&>1); then
if ! $(which curl >/dev/null 2>&1); then
if [ "$PLATFORM" = Linux ]; then
$SUDO apt-get -y update
$SUDO apt-get -y install curl
Expand Down

0 comments on commit d6229d3

Please sign in to comment.