|
|
@@ -504,3 +504,14 @@
|
|
|
|
|
|
if (srcListAppend == true && FileExists(buf)) {
|
|
|
outfd = fdOpen(buf, O_WRONLY|O_APPEND, 0644);
|
|
|
+--- apt-pkg/sourcelist.cc.orig 2003-09-16 12:02:35.000000000 +0200
|
|
|
++++ apt-pkg/sourcelist.cc 2003-09-16 12:05:04.000000000 +0200
|
|
|
+@@ -102,7 +102,7 @@
|
|
|
+ // Check for an absolute dists specification.
|
|
|
+ if (Dist.empty() == false && Dist[Dist.size() - 1] == '/')
|
|
|
+ {
|
|
|
+- if (ParseQuoteWord(Buffer,Section) == true)
|
|
|
++ if (ParseQuoteWord(Buffer,Section) == false)
|
|
|
+ return _error->Error(_("Malformed line %lu in source list %s (Absolute dist)"),CurLine,File.c_str());
|
|
|
+ Dist = SubstVar(Dist,"$(ARCH)",_config->Find("APT::Architecture"));
|
|
|
+ return CreateItem(List,URI,Dist,Section,Vendor);
|