summaryrefslogtreecommitdiffstats
path: root/scripts/windows/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/windows/before_install.sh')
-rw-r--r--scripts/windows/before_install.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/windows/before_install.sh b/scripts/windows/before_install.sh
index 3383f0dec..092488a50 100644
--- a/scripts/windows/before_install.sh
+++ b/scripts/windows/before_install.sh
@@ -13,8 +13,7 @@ pushd ${TRAVIS_BUILD_DIR}/..
echo "Downloading prebuilt MXE environment from Subsurface-divelog.org"
wget -q http://subsurface-divelog.org/downloads/mxe-994ad473.tar.xz
mkdir -p mxe
-cd mxe
-tar xJf ../mxe-994ad473.tar.xz
+tar xJ -C mxe -f mxe-994ad473.tar.xz
# hack around path dependency - needs to be fixed
sudo mkdir -p /data/winqt551/