mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Implement linking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16479 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
917cd26e5d
commit
c8c0570073
6 changed files with 215 additions and 11 deletions
|
@ -47,6 +47,17 @@ main ()
|
|||
}
|
||||
}
|
||||
|
||||
src = [defs stringForKey: @"LinkSrc"];
|
||||
dst = [defs objectForKey: @"LinkDst"];
|
||||
if (src != nil && dst != nil)
|
||||
{
|
||||
if ([mgr linkPath: src toPath: dst handler: handler] == NO)
|
||||
{
|
||||
NSLog(@"Link %@ to %@ failed", src, dst);
|
||||
errors++;
|
||||
}
|
||||
}
|
||||
|
||||
src = [defs stringForKey: @"Remove"];
|
||||
if (src != nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue