]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Callgrind: make scripts independent of perl installation path
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 4 Apr 2023 06:32:36 +0000 (08:32 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 4 Apr 2023 06:32:36 +0000 (08:32 +0200)
callgrind/callgrind_annotate.in
callgrind/callgrind_control.in

index 16c0edf97c547451e74405f86ee37efbc8bb5b89..c0715e06493ac32a78fc00510ea5bffad87405f6 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env -S perl -w
 ##--------------------------------------------------------------------##
 ##--- The cache simulation framework: instrumentation, recording   ---##
 ##--- and results printing.                                        ---##
index 39e0a7f555540ce12758563906dba57a2390f235..b8969373e4d499fa284ed0df1cd8784285171d6d 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env -S perl -w
 ##--------------------------------------------------------------------##
 ##--- Control supervision of applications run with callgrind       ---##
 ##---                                            callgrind_control ---##