Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[yapsi] make target really case-insensitive
Both uc and lc variants parsed before, but now both of them actually work.
  • Loading branch information
Carl Masak committed May 1, 2010
1 parent 08364fc commit a6ba93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yapsi
Expand Up @@ -9,7 +9,7 @@ my $target = 'run';
if @*ARGS && @*ARGS[0] ~~ /'--target='(\w+)/ {
die "Recognized targets: {@TARGETS}"
unless $0.lc eq any @TARGETS;
$target = ~$0;
$target = $0.lc;
shift @*ARGS;
}

Expand Down

0 comments on commit a6ba93b

Please sign in to comment.