summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-21 23:20:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-21 23:35:23 +0200
commitcdd243cdeaaa55e989774cc76666c5ec863d651b (patch)
tree07baa7c2561d893e4d2065ca8c85b1ee2e8d6967
parent8819edb0214c79be86c89f64865d0cc6e8c79f15 (diff)
Ensure a failing linkoo makes ooinstall fail.
-rwxr-xr-xsolenv/bin/ooinstall3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall
index 7887a460d7d8..cf9ad9e1fc35 100755
--- a/solenv/bin/ooinstall
+++ b/solenv/bin/ooinstall
@@ -136,5 +136,6 @@ if ($ENV{BUILD_TYPE} =~ m/ODK/) {
print "Installer finished\n";
if ($do_link && !$is_windows) {
- `$ENV{SOLARENV}/bin/linkoo $path $ENV{SRC_ROOT}`;
+ system("$ENV{SOLARENV}/bin/linkoo $path $ENV{SRC_ROOT}") &&
+ die "linkoo failed: $!";
}