Skip to content

Instantly share code, notes, and snippets.

@abovethewater
Created July 22, 2014 20:47
Show Gist options
  • Save abovethewater/e6ac559343cf3d630ce9 to your computer and use it in GitHub Desktop.
Save abovethewater/e6ac559343cf3d630ce9 to your computer and use it in GitHub Desktop.
Workaround bower not supporting no_proxy
#!/bin/sh
bower install
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
export http_proxy=
bower install
RETVAL=$?
fi
exit $RETVAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment