From 636a9123b83d8d8a229e82898f58bf36b7dcc8aa Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Thu, 23 Jun 2016 18:37:45 -0700 Subject: [PATCH] Have `curl` auto-redirect This should solve the redirection issue if a list is moved. --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index ce04e181..130c5409 100755 --- a/gravity.sh +++ b/gravity.sh @@ -152,7 +152,7 @@ function gravity_transport() { fi # Silently curl url - curl -s $cmd_ext $heisenbergCompensator -A "$agent" $url > $patternBuffer + curl -s -L $cmd_ext $heisenbergCompensator -A "$agent" $url > $patternBuffer # Check for list updates gravity_patternCheck "$patternBuffer" # Cleanup