File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
api-server/rhelai-install Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ set -o pipefail
1010
1111# ## installations
1212
13- if [ -z $( command -v git) ]; then
13+ if [ -z " $( command -v git) " ]; then
1414 echo " please make sure \` git\` is installed."
1515 exit 1
1616fi
1717
18- if [ -z $( command -v go) ]; then
18+ if [ -z " $( command -v go) " ]; then
1919 echo " \` go\` is not installed, installing."
2020 ./install-go.sh
2121fi
@@ -25,7 +25,7 @@ if [ -z "$TAXONOMY_PATH" ]; then
2525 export TAXONOMY_PATH=" $HOME /.local/share/instructlab/taxonomy"
2626fi
2727
28- if [ ! -d " $TAXONOMY_PATH " ]; then
28+ if [ ! -d " $TAXONOMY_PATH " ]; then
2929 echo " \$ TAXONOMY_PATH was set as $TAXONOMY_PATH , but path does not exist."
3030 exit 1
3131fi
@@ -43,8 +43,8 @@ go build -o ilab-api-router
4343
4444CUDA_FLAG=" "
4545
46- if [ $( command -v nvcc) ] && [ -n $( nvcc --version) ]; then
46+ if [ " $( command -v nvcc) " ] && [ -n " $( nvcc --version) " ]; then
4747 CUDA_FLAG=" --cuda"
4848fi
4949
50- ./ilab-api-router --taxonomy-path $TAXONOMY_PATH $CUDA_FLAG --rhelai --vllm
50+ ./ilab-api-router --taxonomy-path " $TAXONOMY_PATH " $CUDA_FLAG --rhelai --vllm
You can’t perform that action at this time.
0 commit comments