changeset 302:1a177f9b51d4

follow the damn redirects
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 14 May 2013 16:21:34 -0700
parents 2a1eeec1b4ea
children 266d6b337373
files .bash_overrides
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.bash_overrides	Tue May 14 13:25:45 2013 -0700
+++ b/.bash_overrides	Tue May 14 16:21:34 2013 -0700
@@ -99,7 +99,7 @@
 
     if expr "$1" : 'http[s]\?://.*' &> /dev/null
     then
-        curl "$1" 2> /dev/null | command lsdiff
+        curl --location "$1" 2> /dev/null | command lsdiff
     else
         lsdiff "$1"
     fi