diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index 57c660342..c8244e075 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmcamtool.pl.in b/scripts/zmcamtool.pl.in index e26aca8a6..603c979bb 100644 --- a/scripts/zmcamtool.pl.in +++ b/scripts/zmcamtool.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmcontrol.pl.in b/scripts/zmcontrol.pl.in index ae2de3c8c..4916ffd6a 100644 --- a/scripts/zmcontrol.pl.in +++ b/scripts/zmcontrol.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmdc.pl.in b/scripts/zmdc.pl.in index 744164f3d..04a5b9952 100644 --- a/scripts/zmdc.pl.in +++ b/scripts/zmdc.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index a6fbb0548..5d3fb50bc 100644 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmonvif-probe.pl.in b/scripts/zmonvif-probe.pl.in index 001d89f83..ab06f8e0d 100755 --- a/scripts/zmonvif-probe.pl.in +++ b/scripts/zmonvif-probe.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!@PERL_EXECUTABLE@ -wT use strict; # # ========================================================================== diff --git a/scripts/zmpkg.pl.in b/scripts/zmpkg.pl.in index bf6f79fbb..4b2032a8d 100644 --- a/scripts/zmpkg.pl.in +++ b/scripts/zmpkg.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmrecover.pl.in b/scripts/zmrecover.pl.in index 02083d757..58647b946 100644 --- a/scripts/zmrecover.pl.in +++ b/scripts/zmrecover.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT use strict; use bytes; diff --git a/scripts/zmstats.pl.in b/scripts/zmstats.pl.in index ba6d8302a..044f7e1ce 100644 --- a/scripts/zmstats.pl.in +++ b/scripts/zmstats.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT use strict; use bytes; diff --git a/scripts/zmsystemctl.pl.in b/scripts/zmsystemctl.pl.in index f46833547..e14bfd630 100644 --- a/scripts/zmsystemctl.pl.in +++ b/scripts/zmsystemctl.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/pkexec /usr/bin/perl +#!/usr/bin/pkexec @PERL_EXECUTABLE@ # # ========================================================================== # diff --git a/scripts/zmtelemetry.pl.in b/scripts/zmtelemetry.pl.in index 592ccc295..15135e769 100644 --- a/scripts/zmtelemetry.pl.in +++ b/scripts/zmtelemetry.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmtrack.pl.in b/scripts/zmtrack.pl.in index 5470da853..58798e5de 100644 --- a/scripts/zmtrack.pl.in +++ b/scripts/zmtrack.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmtrigger.pl.in b/scripts/zmtrigger.pl.in index eda7b2e36..b1743aeae 100644 --- a/scripts/zmtrigger.pl.in +++ b/scripts/zmtrigger.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index 1f2cefa60..b0b63757a 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmvideo.pl.in b/scripts/zmvideo.pl.in index 95a395b4d..04cfabb04 100644 --- a/scripts/zmvideo.pl.in +++ b/scripts/zmvideo.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmwatch.pl.in b/scripts/zmwatch.pl.in index 30d500ee7..1302039ee 100644 --- a/scripts/zmwatch.pl.in +++ b/scripts/zmwatch.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== # diff --git a/scripts/zmx10.pl.in b/scripts/zmx10.pl.in index beb10ae48..89dee5d00 100644 --- a/scripts/zmx10.pl.in +++ b/scripts/zmx10.pl.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -wT +#!@PERL_EXECUTABLE@ -wT # # ========================================================================== #