Brian O'Connor

Small fixes to onos-buck

Change-Id: I3b1afc4745b7d6a0bbdb1863cb9ab6240e70a123
...@@ -27,9 +27,9 @@ if [ -n "$FORCE_UPDATE" ] || [ ! -f "buck" ] || [ "$REQUIRED_VERSION" != "$(cat ...@@ -27,9 +27,9 @@ if [ -n "$FORCE_UPDATE" ] || [ ! -f "buck" ] || [ "$REQUIRED_VERSION" != "$(cat
27 echo "SHA cannot be verified" 27 echo "SHA cannot be verified"
28 fi 28 fi
29 chmod 555 ./buck 29 chmod 555 ./buck
30 - echo $(./buck -V 2>/dev/null) > .buck_version 30 + echo $(./buck --version 2>/dev/null) > .buck_version
31 chmod 444 .buck_version 31 chmod 444 .buck_version
32 - rm -rf ./buck_out 32 + rm -rf ./buck-out
33 printf "Successfully downloaded Buck to $ONOS_ROOT/bin/buck\n\n" 33 printf "Successfully downloaded Buck to $ONOS_ROOT/bin/buck\n\n"
34 fi 34 fi
35 popd > /dev/null 35 popd > /dev/null
......