Skip to content

Commit

Permalink
Merge pull request #42 from alienzj/use_env_perl
Browse files Browse the repository at this point in the history
use env perl
  • Loading branch information
TongChengxuan authored May 11, 2020
2 parents ed0cb3b + 6653918 commit a552852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/install_perl_module.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
sub check_module{
my ($module) = @_;
print STDERR " *** Check perl module $module\n";
system("/usr/bin/perl -e 'use $module ' 2> tmp_module.str");
system("/usr/bin/env perl -e 'use $module ' 2> tmp_module.str");
open(F, "tmp_module.str");
while(<F>){
if($_ ne ""){
Expand Down

0 comments on commit a552852

Please sign in to comment.