Use perl from PATH, not from absolute shebang (#2304)

This commit is contained in:
Harmen Stoppels
2021-08-19 06:56:03 +02:00
committed by GitHub
parent 402211e28e
commit 526d0bf97b
6 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
##
# Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. All rights reserved.
#
@@ -22,6 +22,7 @@
##
#usage hipify-cmakefile [OPTIONS] INPUT_FILE
use Getopt::Long;
use warnings;
GetOptions(
"print-stats" => \$print_stats # print the command-line, like a header.