Kaydet (Commit) 049d94a5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Make failure to create symlink a fatal error

...see commit message of f07e2496 "sdk/lib dir
missing from Linux installation sets"

Change-Id: Idb0f3437c27c867bc628fd3084f2a54c47beef17
Reviewed-on: https://gerrit.libreoffice.org/51428Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 38c153c1
......@@ -652,10 +652,10 @@ sub create_simple_package
my $target = $onelink->{'Target'};
my $destination = $subfolderdir . $installer::globals::separator . $onelink->{'destination'};
my $localcall = "ln -sf \'$target\' \'$destination\' \>\/dev\/null 2\>\&1";
system($localcall);
my @localcall = ('ln', '-sf', $target, $destination);
system(@localcall) == 0 or die "system @localcall failed: $?";
$infoline = "Creating Unix link: \"ln -sf $target $destination\"\n";
$infoline = "Creating Unix link: \"@localcall\"\n";
push(@installer::globals::logfileinfo, $infoline);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment