summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-11-25 22:03:20 -0800
committerKevin Mitchell <kevmitch@gmail.com>2014-11-27 00:55:54 -0800
commitd0a0870e67605dd928add369976850db9dae96b8 (patch)
treeb227481d56f1438afd7d53db52f1f803b8eb35ab
parente9461255760fbdafb18d135b421047ad885c4a31 (diff)
downloadmpv-build-d0a0870e67605dd928add369976850db9dae96b8.tar.bz2
mpv-build-d0a0870e67605dd928add369976850db9dae96b8.tar.xz
mpv-clean: exit early if the git archive doesn't exist yet
closes #49
-rwxr-xr-xscripts/mpv-clean1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mpv-clean b/scripts/mpv-clean
index 9a091fd..0202c8c 100755
--- a/scripts/mpv-clean
+++ b/scripts/mpv-clean
@@ -1,4 +1,5 @@
#!/bin/sh
+test -e mpv || exit 0
cd mpv
./waf distclean