The C-Ares "done" file should have a name beginning with cares-.

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>
This commit is contained in:
Guy Harris 2014-10-31 00:36:39 -07:00
parent 2717766a9a
commit d93bf88af0
1 changed files with 2 additions and 2 deletions

View File

@ -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 ""