Commit 8ac7be91 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

support scripts: Add /usr/bin/env in shbang that is nearly (not really)...

support scripts: Add /usr/bin/env in shbang that is nearly (not really) portable way to solve the path.
parent 0fa53762
#!/usr/bin/perl #!/usr/bin/env perl
# -*- indent-tabs-mode: nil; -*- # -*- indent-tabs-mode: nil; -*-
# vim:ft=perl:et:sw=4 # vim:ft=perl:et:sw=4
......
#!/usr/bin/perl #!/usr/bin/env perl
use strict; # -*- indent-tabs-mode: nil; -*-
use warnings; # vim:ft=perl:et:sw=4
# Sets mtime and atime of files to the latest commit time in git. # Sets mtime and atime of files to the latest commit time in git.
# #
# This is useful after the first clone of the Git repository BEFORE you # This is useful after the first clone of the Git repository BEFORE you
# do any building. It is also safe if you have done a "make distclean". # do any building. It is also safe if you have done a "make distclean".
use strict;
use warnings;
my %ls; my %ls;
my $commit_time; my $commit_time;
my $prefix = @ARGV && $ARGV[0] =~ s/^--prefix=// ? shift : ''; my $prefix = @ARGV && $ARGV[0] =~ s/^--prefix=// ? shift : '';
......
#!perl #!/usr/bin/env perl
# -*- indent-tabs-mode: nil; -*- # -*- indent-tabs-mode: nil; -*-
# vim:ft=perl:et:sw=4 # vim:ft=perl:et:sw=4
......
#!/usr/bin/env perl #!/usr/bin/env perl
# -*- indent-tabs-mode: nil; -*-
# vim:ft=perl:et:sw=4
use strict; use strict;
use warnings; use warnings;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment