]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
* localdir.cc (LocalDirSetting::LocalDirSetting): Restore -l option.
authorDave Korn <dave.korn.cygwin@gmail.com>
Wed, 4 Nov 2009 19:43:14 +0000 (19:43 +0000)
committerDave Korn <dave.korn.cygwin@gmail.com>
Wed, 4 Nov 2009 19:43:14 +0000 (19:43 +0000)
ChangeLog
localdir.cc

index 415e748cabc211297abb9108fdc2fc045646e061..82c0742353cf7687d08d4612472763f4a0fd4a8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-04  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * localdir.cc (LocalDirSetting::LocalDirSetting): Restore -l option.
+
 2009-11-04  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        * site.cc: Add #include of BoolOption header from libgetopt.
index 66e399748deb8ce18bdf134c6bc832cb789c872b..279cd452cbd28a560b63e46b1eb516724bd2a931 100644 (file)
@@ -62,7 +62,9 @@ static ControlAdjuster::ControlInfo LocaldirControlsInfo[] = {
 LocalDirSetting::LocalDirSetting ()
 {
   const char *fg_ret;
-  if ((fg_ret = UserSettings::instance().get ("last-cache")))
+  if (std::string (LocalDirOption).size ())
+    local_dir = std::string (LocalDirOption);
+  else if ((fg_ret = UserSettings::instance().get ("last-cache")))
     local_dir = std::string (fg_ret);
 }
 
This page took 0.038534 seconds and 5 git commands to generate.