diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-11 16:23:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-11 16:30:28 +0200 |
commit | 1e5cea126cbb014582f4395e85a8eca1ac63354f (patch) | |
tree | 2918d1000e996936c95f165b1170966f7c169615 /solenv | |
parent | 74388d2fbdd3ffb7d319e74dd1a7c5592410aacd (diff) |
Make an undefined Shortcut FileID a hard error
...so that regressions like the missing libjava_uno.jnilib in fdo#66703
"REPORTBUILDER - report design wizard does not start on click (missing
libjava_uno.jnilib symlink)" are found earlier in the future. (It is unclear to
me why it had been demoted to a warning right from its inception in
5b6ee999707ef33bf8bbab6848f331df072543ae "INTEGRATION: CWS native99 (1.6.738);
FILE MERGED.")
Change-Id: I415477cff39b4a6b848701374c7f9dbb8ab2f6ba
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/par2script/check.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/bin/modules/par2script/check.pm b/solenv/bin/modules/par2script/check.pm index 0ea1ec19f89a..727cd7c83287 100644 --- a/solenv/bin/modules/par2script/check.pm +++ b/solenv/bin/modules/par2script/check.pm @@ -286,8 +286,7 @@ sub check_shortcut_assignments if (( exists($allshortcuts->{$shortcut}->{'FileID'}) ) && ( ! exists($allfiles->{$allshortcuts->{$shortcut}->{'FileID'}}) )) { - # die "\nERROR: FileID $allshortcuts->{$shortcut}->{'FileID'} has no definition at shortcut $shortcut !\n"; - print "\n\tWARNING: FileID $allshortcuts->{$shortcut}->{'FileID'} has no definition at shortcut $shortcut !\n"; + die "\nERROR: FileID $allshortcuts->{$shortcut}->{'FileID'} has no definition at shortcut $shortcut !\n"; } if (( exists($allshortcuts->{$shortcut}->{'ShortcutID'}) ) && |