(folly osx) test for the zip, not the dir
[folly.git] / folly / bootstrap-osx-homebrew.sh
index da1f73ed24be33542696bfa1a2cce41a809a41b1..9843c5e0a8e2812814119dbb1b17f9f2f26dd858 100755 (executable)
@@ -37,7 +37,7 @@ autoreconf -i
 ./configure CPPFLAGS=-I"$DOUBLE_CONVERSION_HOME/src" LDFLAGS=-L"$DOUBLE_CONVERSION_HOME"
 
 pushd test
-test -d gtest-1.7.0 || {
+test -e gtest-1.7.0.zip || {
     curl -O https://googletest.googlecode.com/files/gtest-1.7.0.zip
     unzip gtest-1.7.0.zip
 }