Created
July 22, 2014 20:47
-
-
Save abovethewater/e6ac559343cf3d630ce9 to your computer and use it in GitHub Desktop.
Workaround bower not supporting no_proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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