summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-16 21:53:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-16 21:53:02 +0200
commitb281ffde21c44578f110531e469a8c0f02cdd958 (patch)
tree26c036289ddd86caa0e29f957ca262937c2caf09 /solenv
parent5b89d4c7fb1c3dd3a4af42380eb8de92d60a102e (diff)
Make sure macosx-change-install-names fails if otool -L fails
Change-Id: Ic3d3abc5404446ca378fda9ccfc12d741a560594
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/macosx-change-install-names.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/macosx-change-install-names.pl b/solenv/bin/macosx-change-install-names.pl
index a6c3eb79afc8..a7984cbdbd77 100644
--- a/solenv/bin/macosx-change-install-names.pl
+++ b/solenv/bin/macosx-change-install-names.pl
@@ -94,7 +94,7 @@ foreach $file (@ARGV)
$change .= " -change $1 " . action($type, $loc, $4) . $6;
}
}
- close(IN);
+ close(IN) or die "got $? from $call";
if ($change ne "")
{
$call = "$ENV{'XCRUN'} install_name_tool$change $file";