summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoypu <coypu@sdf.org>2016-02-09 18:09:36 +0200
committerMichael Stahl <mstahl@redhat.com>2016-02-25 13:51:25 +0000
commit48aae2225fa1f3d252619e764416126b0ba78127 (patch)
tree8916ae3d4903ad71b702e994a76d9e745b5fbd48
parent61648cb37ec499f317fe6336146bb3e722579363 (diff)
Avoid hard-coded perl path, check with env
Change-Id: If39a4991b487b14d21572d6e3d785df4c287f190 Reviewed-on: https://gerrit.libreoffice.org/22238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rwxr-xr-xbin/find-unusedheaders.pl2
-rwxr-xr-xbin/module-deps.pl2
-rwxr-xr-xoox/source/drawingml/customshapes/generatePresetsData.pl2
-rwxr-xr-xoox/source/drawingml/customshapes/generatePresetsPPTXs.pl2
-rw-r--r--sd/res/webview/webcast.pl2
-rwxr-xr-xsolenv/bin/fix-includes.pl2
6 files changed, 6 insertions, 6 deletions
diff --git a/bin/find-unusedheaders.pl b/bin/find-unusedheaders.pl
index def1bd45abf9..64b460f9ff06 100755
--- a/bin/find-unusedheaders.pl
+++ b/bin/find-unusedheaders.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
diff --git a/bin/module-deps.pl b/bin/module-deps.pl
index c742b713429f..b99072213e3a 100755
--- a/bin/module-deps.pl
+++ b/bin/module-deps.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use strict;
use warnings;
diff --git a/oox/source/drawingml/customshapes/generatePresetsData.pl b/oox/source/drawingml/customshapes/generatePresetsData.pl
index 187f3ee33516..99b2ff153036 100755
--- a/oox/source/drawingml/customshapes/generatePresetsData.pl
+++ b/oox/source/drawingml/customshapes/generatePresetsData.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
#
# This file is part of the LibreOffice project.
#
diff --git a/oox/source/drawingml/customshapes/generatePresetsPPTXs.pl b/oox/source/drawingml/customshapes/generatePresetsPPTXs.pl
index 5795ea9a5072..246bfddcdcfd 100755
--- a/oox/source/drawingml/customshapes/generatePresetsPPTXs.pl
+++ b/oox/source/drawingml/customshapes/generatePresetsPPTXs.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
#
# This file is part of the LibreOffice project.
#
diff --git a/sd/res/webview/webcast.pl b/sd/res/webview/webcast.pl
index dadffe2e988a..37c80e5a1f89 100644
--- a/sd/res/webview/webcast.pl
+++ b/sd/res/webview/webcast.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
#
# This file is part of the LibreOffice project.
#
diff --git a/solenv/bin/fix-includes.pl b/solenv/bin/fix-includes.pl
index 2b3553f63b8a..6daae9ef3d52 100755
--- a/solenv/bin/fix-includes.pl
+++ b/solenv/bin/fix-includes.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public