]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
Small bug fixes
[apt.git] / apt-pkg / init.cc
index e504e4a14679a8ea299fdeed8584ae7ee4709ccb..e0ab46821dda2d2da5185fe6c83a26501b7dc99d 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: init.cc,v 1.11 1998/11/05 07:42:03 jgg Exp $
+// $Id: init.cc,v 1.12 1998/11/06 02:52:21 jgg Exp $
 /* ######################################################################
 
    Init - Initialize the package library
@@ -54,7 +54,7 @@ bool pkgInitialize(Configuration &Cnf)
    
    // Read an alternate config file
    const char *Cfg = getenv("APT_CONFIG");
-   if (Cfg != 0 && FileExists(FName) == true)
+   if (Cfg != 0 && FileExists(Cfg) == true)
       Res &= ReadConfigFile(Cnf,Cfg);
    
    if (Res == false)