From 8026c2f2d3ddeb53f72198e66d6e46d66891d9b3 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 31 Jan 2017 17:38:34 +0000 Subject: [PATCH] Make fetch.pl compatible with older versions of Git Our production machines run 1.8, which doesn't support -C. --- charting/fetch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charting/fetch.pl b/charting/fetch.pl index 7e7cb94a..9b01e351 100755 --- a/charting/fetch.pl +++ b/charting/fetch.pl @@ -7,7 +7,7 @@ use Months; # Call git on the products directory -my $git = "/usr/bin/env git -C ../../ukf-products"; +my $git = "/usr/bin/env git --git-dir ../../ukf-products/.git"; $fn1 = 'aggregates/ukfederation-metadata.xml'; $fn2 = 'aggregates/ukfederation-stats.html';