mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
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:
parent
b4b5c7774a
commit
467e7fe100
1 changed files with 3 additions and 3 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue