summaryrefslogtreecommitdiff
path: root/cmdline/apt-cdrom.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:26 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:26 +0000
commit1886ebc31b10e7a3b4a78d9497bdcffdc2ad6735 (patch)
tree5f8e95585898fe65d199d23f2419c540c9c3b815 /cmdline/apt-cdrom.cc
parent22177db995b8c95af5db5d8ca74821dc79373b3a (diff)
Oops, bug
Author: jgg Date: 1999-04-07 06:00:20 GMT Oops, bug
Diffstat (limited to 'cmdline/apt-cdrom.cc')
-rw-r--r--cmdline/apt-cdrom.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index fdd12ebde..e1847be6e 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cdrom.cc,v 1.21 1999/04/07 05:57:04 jgg Exp $
+// $Id: apt-cdrom.cc,v 1.22 1999/04/07 06:00:20 jgg Exp $
/* ######################################################################
APT CDROM - Tool for handling APT's CDROM database.
@@ -893,9 +893,9 @@ bool DoAdd(CommandLine &)
{
// Try to use the CDs label if at all possible
if (InfoDir.empty() == false &&
- FileExists(CDROM + InfoDir + "/info") == true)
+ FileExists(InfoDir + "/info") == true)
{
- ifstream F(string(CDROM + InfoDir + "/info").c_str());
+ ifstream F(string(InfoDir + "/info").c_str());
if (!F == 0)
getline(F,Name);