From 48f3ee5d626fb010ad80f420d2adf31fcdd8f0a4 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Tue, 6 Nov 2018 09:48:16 +0000 Subject: [PATCH] [Scripts] Fix script. --- scripts/build-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-deps.sh b/scripts/build-deps.sh index dff2e00..f8b864c 100755 --- a/scripts/build-deps.sh +++ b/scripts/build-deps.sh @@ -8,7 +8,7 @@ export CFLAGS="-Os -pipe" mkdir -p ~/.cache/deps -if [ -z "${USE_PREBUILT_MPV}" ]; then +if [[ "${USE_PREBUILT_MPV}" ]]; then wget https://github.com/NamedKitten/mpv-builder/releases/download/continuous/deps.tar.xz tar xvf deps.tar.xz -C / exit 0 @@ -33,7 +33,7 @@ echo "--disable-cplayer --disable-caca --disable-wayland --disable-gl-wayland -- sudo ./install ccache -s -if [ -n "${UPLOAD}" ]; then +if [[ "${UPLOAD}" ]]; then cd mpv python waf -v install --destdir=~/.cache/deps cd ~/.cache/deps