aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorxero harrison <x@xero.nu>2016-05-13 12:46:16 -0400
committerxero harrison <x@xero.nu>2016-05-13 12:46:16 -0400
commitb4933de644101f4ccb378326f4ac04f854b12b59 (patch)
treec6292331282440622bb0a365d945a0246700bb2b /bin
parent364c5f8f7fb1c13fc9432233d9377726271f6669 (diff)
downloaddotfiles_ascii-b4933de644101f4ccb378326f4ac04f854b12b59.tar.xz
dotfiles_ascii-b4933de644101f4ccb378326f4ac04f854b12b59.zip
update to secure protocol
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/gitio4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bin/gitio b/bin/bin/gitio
index ef6bba3..0d0f4c6 100755
--- a/bin/bin/gitio
+++ b/bin/bin/gitio
@@ -74,9 +74,9 @@ esac
if [ -z "$VANITY" ]
then
- url=`curl -is http://git.io -F "url=$GHURL" | grep -i "location" | cut -d' ' -f2`
+ url=`curl -is https://git.io -F "url=$GHURL" | grep -i "location" | cut -d' ' -f2`
else
- url=`curl -is http://git.io -F "url=$GHURL" -F "code=$VANITY" | grep -i "location" | cut -d' ' -f2`
+ url=`curl -is https://git.io -F "url=$GHURL" -F "code=$VANITY" | grep -i "location" | cut -d' ' -f2`
fi
if [ -z $url ]