The C-Ares "done" file should have a name beginning with cares-.
authorGuy Harris <guy@alum.mit.edu>
Fri, 31 Oct 2014 07:36:39 +0000 (00:36 -0700)
committerGuy Harris <guy@alum.mit.edu>
Fri, 31 Oct 2014 07:37:41 +0000 (07:37 +0000)
Fix a presumed copy-and-pasteo.

Change-Id: I6953bfb46741923507bb58b4e48a72d92313e07c
Reviewed-on: https://code.wireshark.org/review/5012
Reviewed-by: Guy Harris <guy@alum.mit.edu>
macosx-setup.sh

index a8a35fd4ebdbc10b0c852f2e8749c8f546f98069..9c00fbc81fd60b7f8a8245fa585475256d910cb5 100755 (executable)
@@ -1360,7 +1360,7 @@ then
     touch geoip-$GEOIP_VERSION-done
 fi
 
-if [ "$CARES_VERSION" -a ! -f geoip-$CARES_VERSION-done ]
+if [ "$CARES_VERSION" -a ! -f cares-$CARES_VERSION-done ]
 then
     echo "Downloading, building, and installing C-Ares API:"
     [ -f c-ares-$CARES_VERSION.tar.gz ] || curl -L -O http://c-ares.haxx.se/download/c-ares-$CARES_VERSION.tar.gz || exit 1
@@ -1370,7 +1370,7 @@ then
     make $MAKE_BUILD_OPTS || exit 1
     $DO_MAKE_INSTALL || exit 1
     cd ..
-    touch geoip-$CARES_VERSION-done
+    touch cares-$CARES_VERSION-done
 fi
 
 echo ""