diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-07-01 17:22:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-07-01 17:22:29 +0000 |
commit | c5afe24acb8c980adb3c35eff9d5e9906e3a3b93 (patch) | |
tree | 440b641a1630b2c5ed2351b24925266d9d5ff4b8 /usr.bin/libtool | |
parent | 87a33275d043884ff5a7153fc139c29f6729e2fe (diff) |
fix again -j4 properly
Diffstat (limited to 'usr.bin/libtool')
-rwxr-xr-x | usr.bin/libtool/libtool | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/libtool/libtool b/usr.bin/libtool/libtool index 529d0a394ed..e32d287909e 100755 --- a/usr.bin/libtool/libtool +++ b/usr.bin/libtool/libtool @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: libtool,v 1.7 2012/06/28 18:24:42 espie Exp $ +# $OpenBSD: libtool,v 1.8 2012/07/01 17:22:28 espie Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # @@ -228,9 +228,10 @@ sub create_symlinks LT::Trace::debug {"ln -s $f $link\n"}; next if -f $link; my $p = abs_path($f); - symlink($p, $link) or - die "Cannot create symlink($p, $link): $!\n" - unless $!{EEXIST}; + if (!symlink($p, $link)) { + die "Cannot create symlink($p, $link): $!\n" + unless $!{EEXIST} + } } } return $dir; |