Fix bug in pb option

This commit is contained in:
Joshua Bussdieker
2012-03-19 22:05:49 -07:00
parent a28c8f220e
commit bc2ef7ba41
+2 -2
View File
@@ -24,7 +24,7 @@ read_command_line() {
GO_SOURCE_URL=$i
;;
-pb|--with-protobuf)
INSTALL_PB=true
INSTALL_PB="true"
;;
-h|--help)
show_usage
@@ -162,7 +162,7 @@ main() {
if [[ "$?" == "1" ]]; then
install_gpkg
install_gb
if [ $INSTALL_PB == "true" ]; then
if [ "$INSTALL_PB" == "true" ]; then
install_goprotobuf
fi
fi