Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Winpty update, PATH and insecure wget fix #34

Merged
merged 1 commit into from
Apr 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#! /bin/bash

# winpty base URL
babun_docker_winpty_base_url="https://github.com/rprichard/winpty/releases/download/0.4.0/"
babun_docker_winpty_base_url="https://github.com/rprichard/winpty/releases/download/0.4.3/"


# Specific file name, separated to allow unzipping it later
babun_docker_winpty_only_name="winpty-0.4.0-cygwin-2.5.2-ia32"
babun_docker_winpty_only_name="winpty-0.4.3-cygwin-2.8.0-ia32"

# Specific file extension
babun_docker_winpty_ext=".tar.gz"
Expand Down Expand Up @@ -38,7 +38,7 @@ if [[ ! -f $babun_docker_winpty_filename ]] ; then
mkdir -p $babun_docker_winpty_dir
cd $babun_docker_winpty_dir
# Download winpty
wget $babun_docker_winpty_url -O $babun_docker_winpty_filename
wget -q --no-check-certificate $babun_docker_winpty_url -O $babun_docker_winpty_filename
# Untar the downloaded file
tar xf $babun_docker_winpty_filename
# Move the tar contents to the current directory
Expand All @@ -50,7 +50,7 @@ if [[ ! -f $babun_docker_winpty_filename ]] ; then
# Ask for update
echo "$babun_docker_feedback to finish the installation please run: babun-docker-update"
fi
export PATH="$PATH:$babun_docker_winpty_dir"
export PATH="$babun_docker_winpty_dir:$PATH"


# Set up babun-docker
Expand Down