From 13a8b801ba0f0e39bc0af6b8c420857eb111d7c9 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Sun, 6 Nov 2016 00:19:41 +0100 Subject: [PATCH 1/1] 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 --- run_branches | 3 ++- run_build | 2 +- setnotes.pl | 4 ++-- update_personality | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) 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 -- 2.30.2