From: Heiko Schlittermann (HS12-RIPE) Date: Sat, 5 Nov 2016 23:19:41 +0000 (+0100) Subject: Use /usr/bin/env perl instead of /usr/bin/perl X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/13a8b801ba0f0e39bc0af6b8c420857eb111d7c9?hp=552a2c7d076c106a12009a45c56a5152de658014 Use /usr/bin/env perl instead of /usr/bin/perl At least one of the animals uses a locally installed Perl version, that is reachable via $PATH --- diff --git a/run_branches b/run_branches index e1d0b9e..8ee1f9f 100755 --- a/run_branches +++ b/run_branches @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =comment @@ -100,6 +100,7 @@ if (not exists $EximBuild::Conf{auto_update} or $EximBuild::Conf{auto_update}) else { # if we're the merge base, the ff-only should work system('git pull --ff-only') == 0 or die $? >> 8; + say "$0: re-execute after update"; chdir $CALLED{cwd} or die "$0: Can't chdir to $CALLED{cwd}: $!\n"; exec $CALLED{argv0}, @{$CALLED{argv}}; diff --git a/run_build b/run_build index 2212415..464526f 100755 --- a/run_build +++ b/run_build @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =comment diff --git a/setnotes.pl b/setnotes.pl index d4fcb57..fb5312b 100755 --- a/setnotes.pl +++ b/setnotes.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =comment @@ -6,7 +6,7 @@ Copyright (c) 2003-2010, Andrew Dunstan See accompanying License file for license details -=cut +=cut use vars qw($VERSION); $VERSION = 'REL_0.1'; diff --git a/update_personality b/update_personality index c16135b..52a17cc 100755 --- a/update_personality +++ b/update_personality @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =comment