]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
- #0003216 patched by djGrrr, regarding when you run ./Config for a second
authorstskeeps <redacted>
Tue, 24 Apr 2007 10:20:47 +0000 (10:20 +0000)
committerstskeeps <redacted>
Tue, 24 Apr 2007 10:20:47 +0000 (10:20 +0000)
  time after settings are saved in config.settings, the SSLDIR and ZIPLINKSDIR
  defaults are basically completely ignored.

Changes
Config

diff --git a/Changes b/Changes
index 0cad8e16601bc237efc2deda56dfb424e808569b..0bfcecda84fbc4c87d02ac41e22ae33e635c5d2c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1602,3 +1602,6 @@ MOTDs
   Makefile.in includes networks* files/dirs, Problems when specifying
   different directory for binary in Config, error on 'make install' if path
   to binary not exist
+- #0003216 patched by djGrrr, regarding when you run ./Config for a second
+  time after settings are saved in config.settings, the SSLDIR and ZIPLINKSDIR
+  defaults are basically completely ignored.
diff --git a/Config b/Config
index cf0e645b7a030fe306ec88cdcb0779d6b9f0e3bd..125750377c4014c8095f6a613576935b7e4507c2 100755 (executable)
--- a/Config
+++ b/Config
@@ -517,14 +517,14 @@ while [ -z "$TEST" ] ; do
 done
 
 if [ "$CRYPTOIRCD" = "1" ] ; then
-TEST=""
+TEST="$SSLDIR"
 echo ""
 echo "If you know the path to OpenSSL on your system, enter it here. If not"
 echo "leave this blank"
 echo $n "[$TEST] -> $c"
     read cc
 if [ -z "$cc" ] ; then
-    SSLDIR=""
+    SSLDIR="$TEST"
 else 
     SSLDIR=`eval echo $cc` # modified
 fi
@@ -589,14 +589,14 @@ while [ -z "$TEST" ] ; do
 done
 
 if [ "$ZIPLINKS" = "1" ] ; then
-TEST=""
+TEST="$ZIPLINKSDIR"
 echo ""
 echo "If you know the path to zlib on your system, enter it here. If not"
 echo "leave this blank"
 echo $n "[$TEST] -> $c"
     read cc
 if [ -z "$cc" ] ; then
-    ZIPLINKSDIR=""
+    ZIPLINKSDIR="$TEST"
 else 
     ZIPLINKSDIR=`eval echo $cc` # modified
 fi