Setup sanity checks
[novacoin.git] / mingw64_deps / png / setup.sh
index 49f0b2a..ba0c0df 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
 
+if [[ ! $(which git) ]]; then
+    echo "git is not installed"
+    exit -1
+fi
+
 git clone  https://github.com/madler/zlib
 git clone https://github.com/glennrp/libpng