From: Heiko Schlittermann (HS12-RIPE) Date: Sat, 5 Nov 2016 23:15:34 +0000 (+0100) Subject: Ohoh, fix loop in re-exec X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/552a2c7d076c106a12009a45c56a5152de658014?hp=128475f6273172b482ec6d5142a7a51f00833c3f Ohoh, fix loop in re-exec --- diff --git a/run_branches b/run_branches index d45024d..e1d0b9e 100755 --- a/run_branches +++ b/run_branches @@ -99,7 +99,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; + 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}};