[Scripts] Fix script.
This commit is contained in:
parent
4228686784
commit
48f3ee5d62
|
@ -8,7 +8,7 @@ export CFLAGS="-Os -pipe"
|
||||||
|
|
||||||
mkdir -p ~/.cache/deps
|
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
|
wget https://github.com/NamedKitten/mpv-builder/releases/download/continuous/deps.tar.xz
|
||||||
tar xvf deps.tar.xz -C /
|
tar xvf deps.tar.xz -C /
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -33,7 +33,7 @@ echo "--disable-cplayer --disable-caca --disable-wayland --disable-gl-wayland --
|
||||||
sudo ./install
|
sudo ./install
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
if [ -n "${UPLOAD}" ]; then
|
if [[ "${UPLOAD}" ]]; then
|
||||||
cd mpv
|
cd mpv
|
||||||
python waf -v install --destdir=~/.cache/deps
|
python waf -v install --destdir=~/.cache/deps
|
||||||
cd ~/.cache/deps
|
cd ~/.cache/deps
|
||||||
|
|
Loading…
Reference in a new issue