(scanDynamic): Skip anything with a .service extension.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-05-20 20:53:04 +00:00
parent 52308a0016
commit e0b048af5a
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-05-20 22:50 Alexander Malmberg <alexander@malmberg.org>
* Tools/make_services.m (scanDynamic): Skip anything with a .service
extension.
2003-05-18 00:00 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/DPSOperators.h,

View file

@ -612,6 +612,10 @@ scanDynamic(NSMutableDictionary *services, NSString *path)
continue;
}
/* *.service bundles are handled in scanDirectory */
if ([[name pathExtension] isEqualToString: @"service"])
continue;
infPath = [path stringByAppendingPathComponent: name];
info = [NSDictionary dictionaryWithContentsOfFile: infPath];