Skip to content
Snippets Groups Projects
Commit 4133b666 authored by Janet Anderson's avatar Janet Anderson
Browse files

Added die if no target file argument

parent dabd0a96
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ getopts( 'dm:I@' ) || die "\aSyntax: $0 [-d] [-m dependsFile] [-I incdir [-I inc
my $debug = $opt_d;
my $depFile = $opt_m;
my @incdirs = @opt_I;
my $objFile = shift;
my $objFile = shift or die "No target file argument";
my @srcFiles=@ARGV;
if( $debug ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment