* gendevices: Issue error when shilka is missing.

This commit is contained in:
Christopher Faylor 2003-11-28 21:20:15 +00:00
parent 93f8e67384
commit 965f78cbbe
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-28 Christopher Faylor <cgf@redhat.com>
* gendevices: Issue error when shilka is missing.
2003-11-28 Christopher Faylor <cgf@redhat.com>
* include/cygwin/signal.h: New file.

View File

@ -55,7 +55,11 @@ close SHILKA;
chdir '/tmp';
system qw'shilka -length -strip -no-definitions', $shilka;
exit $? if $?;
if ($? == -1) {
die "$0: shilka command missing? - $!\n";
} else {
exit $? if $?;
}
chdir $cwd;
unlink $shilka;
open(C, $c) or die "$0: couldn't open $c - $!\n";