]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/aptconfiguration.cc
invalid cache if architecture set doesn't match
[apt.git] / apt-pkg / aptconfiguration.cc
index 9982759c634d7cda87fc16df3d1e803925395114..94b6bc2468b8b5ef0e045dd4df7221afc58589fd 100644 (file)
@@ -540,7 +540,7 @@ std::string const Configuration::getBuildProfilesString() {
                return "";
        std::vector<std::string>::const_iterator p = profiles.begin();
        std::string list = *p;
-       for (; p != profiles.end(); ++p)
+       for (++p; p != profiles.end(); ++p)
           list.append(",").append(*p);
        return list;
 }