FIX: BaseInterface.gorm is copied as expected upon project creation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@17818 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Philippe C.D. Robert 2003-10-11 15:29:08 +00:00
parent b4b5c7774a
commit 467e7fe100

View file

@ -4,7 +4,7 @@
Copyright (C) 2001 Free Software Foundation
Copyright (C) 2001 Pierre-Yves Rivaille
Authors: Philippe C.D. Robert <phr@3dkit.org>
Authors: Philippe C.D. Robert <probert@siggraph.org>
Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
This file is part of GNUstep.
@ -135,8 +135,8 @@ static PCGormProj *_creator = nil;
_file = [[NSBundle bundleForClass:[self class]] pathForResource:@"main" ofType:@"m"];
[fm copyPath:_file toPath:[path stringByAppendingPathComponent:@"main.m"] handler:nil];
gormTemplatePath = [path stringByAppendingPathComponent: [[path lastPathComponent] stringByAppendingString: @".gorm"]];
// Copy the gorm wrapper
gormTemplatePath = [path stringByAppendingPathComponent: @"BaseInterface.gorm"];
_file = [[NSBundle bundleForClass:[self class]] pathForResource:@"BaseInterface" ofType:@"gorm"];
[fm copyPath:_file toPath:gormTemplatePath handler:nil];