diff --git a/README.md b/README.md index af4359732f..1b490429cb 100644 --- a/README.md +++ b/README.md @@ -28,21 +28,21 @@ Download ``mc`` for: -- ``64-bit Intel`` from https://dl.minio.io/client/mc/release/linux-amd64/mc -- ``32-bit Intel`` from https://dl.minio.io/client/mc/release/linux-386/mc -- ``32-bit ARM`` from https://dl.minio.io/client/mc/release/linux-arm/mc +- ``64-bit Intel`` from https://dl.minio.io/client/mc/release/linux-amd64/mc.tar.gz +- ``32-bit Intel`` from https://dl.minio.io/client/mc/release/linux-386/mc.tar.gz +- ``32-bit ARM`` from https://dl.minio.io/client/mc/release/linux-arm/mc.tar.gz ~~~ -$ chmod +x mc +$ tar -xzf mc.tar.gz $ ./mc --help ~~~ #### OS X -Download ``mc`` from https://dl.minio.io/client/mc/release/darwin-amd64/mc +Download ``mc`` from https://dl.minio.io/client/mc/release/darwin-amd64/mc.zip ~~~ -$ chmod 755 mc +$ unzip mc.zip $ ./mc --help ~~~ @@ -50,8 +50,10 @@ $ ./mc --help Download ``mc`` for: -- ``64-bit`` from https://dl.minio.io/client/mc/release/windows-amd64/mc.exe -- ``32-bit`` from https://dl.minio.io/client/mc/release/windows-386/mc.exe +- ``64-bit`` from https://dl.minio.io/client/mc/release/windows-amd64/mc.zip +- ``32-bit`` from https://dl.minio.io/client/mc/release/windows-386/mc.zip + +Extract the downloaded zip file. ~~~ C:\Users\Username\Downloads> mc.exe --help @@ -59,19 +61,19 @@ C:\Users\Username\Downloads> mc.exe --help #### Solaris/Illumos -Download ``mc`` from https://dl.minio.io/client/mc/release/solaris-amd64/mc +Download ``mc`` from https://dl.minio.io/client/mc/release/solaris-amd64/mc.tar.gz ~~~ -$ chmod 755 mc +$ tar -xzf mc.tar.gz $ ./mc --help ~~~ #### FreeBSD -Download ``mc`` from https://dl.minio.io/client/mc/release/freebsd-amd64/mc +Download ``mc`` from https://dl.minio.io/client/mc/release/freebsd-amd64/mc.tar.gz ~~~ -$ chmod 755 mc +$ tar -xzf mc.tar.gz $ ./mc --help ~~~ diff --git a/buildscripts/build.sh b/buildscripts/build.sh index fdb5a0f2f5..434f12c282 100755 --- a/buildscripts/build.sh +++ b/buildscripts/build.sh @@ -75,13 +75,10 @@ go_build() { cd "$release_str/$os-$arch" $ZIP -r $release_real_zip $(basename $package) $(basename $package).shasum cd - - elif [ $os == "linux" ]; then + else cd "$release_str/$os-$arch" $TAR -czf $release_real_tgz $(basename $package) $(basename $package).shasum cd - - else - echo "$os operating system is not supported." - exit 1 fi }