1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 09:43:12 +02:00

Fixes for './Config -quick'

This commit is contained in:
Bram Matthys
2016-11-14 12:50:25 +01:00
parent 0733751730
commit 1bb90bec50
+5 -1
View File
@@ -91,6 +91,10 @@ ARG="$ARG $EXTRAPARA "
CONF="./configure $ARG"
# remove possibly old instances of curl in ~/unrealircd/lib/
rm -f $LIBDIR/*curl* 1>/dev/null 2>&1
# Ensure we install curl even if someone does ./Config -quick...
if [ "x$CURLDIR" = "x$UNREALCWD/extras/curl" ]; then
INSTALLCURL=1
fi
if [ "x$INSTALLCURL" = "x1" ]; then
extras/curlinstall "$LIBDIR" || exit 1
fi
@@ -700,7 +704,7 @@ if [ "$REMOTEINC" = "1" ] ; then
case "$cc" in
[Yy]*)
INSTALLCURL="1"
CURLDIR="$HOME/curl"
CURLDIR="$UNREALCWD/extras/curl"
;;
[Nn]*)
INSTALLCURL="0"