Mercurial > ecos
comparison host/libcdl/database.cxx @ 156:b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
| author | jlarmour |
|---|---|
| date | Fri, 06 Apr 2001 17:20:13 +0000 |
| parents | 6ed91473a1cd |
| children | 0d2b193a635f |
comparison
equal
deleted
inserted
replaced
| 155:70a4cc6d69d2 | 156:b939e9cada46 |
|---|---|
| 10 // | 10 // |
| 11 //============================================================================ | 11 //============================================================================ |
| 12 //####COPYRIGHTBEGIN#### | 12 //####COPYRIGHTBEGIN#### |
| 13 // | 13 // |
| 14 // ---------------------------------------------------------------------------- | 14 // ---------------------------------------------------------------------------- |
| 15 // Copyright (C) 1999, 2000 Red Hat, Inc. | 15 // Copyright (C) 1999, 2000, 2001 Red Hat, Inc. |
| 16 // | 16 // |
| 17 // This file is part of the eCos host tools. | 17 // This file is part of the eCos host tools. |
| 18 // | 18 // |
| 19 // This program is free software; you can redistribute it and/or modify it | 19 // This program is free software; you can redistribute it and/or modify it |
| 20 // under the terms of the GNU General Public License as published by the Free | 20 // under the terms of the GNU General Public License as published by the Free |
| 219 unsigned int i; | 219 unsigned int i; |
| 220 interp->locate_subdirs(pkgdir, subdirs); | 220 interp->locate_subdirs(pkgdir, subdirs); |
| 221 std::sort(subdirs.begin(), subdirs.end(), Cdl::version_cmp()); | 221 std::sort(subdirs.begin(), subdirs.end(), Cdl::version_cmp()); |
| 222 | 222 |
| 223 for (i = 0; i < subdirs.size(); i++) { | 223 for (i = 0; i < subdirs.size(); i++) { |
| 224 if ("CVS" == subdirs[i]) { | 224 if (("CVS" == subdirs[i]) || ("cvs" == subdirs[i])) { |
| 225 continue; | 225 continue; |
| 226 } | 226 } |
| 227 if ("" != package.script) { | 227 if ("" != package.script) { |
| 228 if (!(interp->is_file(pkgdir + "/" + subdirs[i] + "/cdl/" + package.script) || | 228 if (!(interp->is_file(pkgdir + "/" + subdirs[i] + "/cdl/" + package.script) || |
| 229 interp->is_file(pkgdir + "/" + subdirs[i] + "/" + package.script))) { | 229 interp->is_file(pkgdir + "/" + subdirs[i] + "/" + package.script))) { |
