Sign in
gerrit
/
gerrit-ci-scripts
/
9d3513d9a40178329a088721c280bab50ccc84f8
/
.
/
jenkins-docker
/
slave-buck
/
set-buck.sh
blob: b0fc8eb91bbd5ef9def63d149aa10254ecd03370 [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
"$1"
==
""
]
then
echo
"Set current Buck/Java version level"
echo
""
echo
"Use: $0 <7|8>"
exit
1
fi
export PATH
=/
opt
/
buck
-
java$1
/
bin
:
$PATH
echo
"Buck set to: $(which buck)"