Skip to content

Commit

Permalink
Script changes to make it better to locally use
Browse files Browse the repository at this point in the history
  • Loading branch information
steamport committed Mar 29, 2019
1 parent 0db0e18 commit 8a05ceb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildscripts/Travis/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
export KSPVERS=${KSPVERS:-"1.6.1 1.5.1 1.4.5 1.3.1"}
export KSPBINS=${KSPBINS:-"16 15 14 13"}
export TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$PWD}
IFS=' ' read -r -a _KSPVERS <<< "$KSPVERS"
IFS=' ' read -r -a _KSPBINS <<< "$KSPBINS"

Expand All @@ -7,7 +10,7 @@ do
rm -rf "src/DLLs"
current_kspvr="${_KSPVERS[$element]}"
current_kspbin="${_KSPBINS[$element]}"
echo "Building for $current_kspvr / $current_kspbin"
echo "Building for $current_kspvr / $current_kspbin"
filename="KSP-$current_kspvr.7z"
wget "https://img.steamport.xyz/$filename"
mkdir "src/DLLs"
Expand Down

0 comments on commit 8a05ceb

Please sign in to comment.