Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from KusionStack/add-env-kclvm-clang
Browse files Browse the repository at this point in the history
feat: add default environment KCLVM_CLANG=/usr/bin/clang when kusionu…
  • Loading branch information
elliotxx committed Jun 16, 2022
2 parents 78b38e6 + 27ea88c commit 98bd07f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/commands/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (
const (
// KusionupEnvFileContent is the content of the kusionup environment file
KusionupEnvFileContent = `export PATH=$HOME/.kusionup/bin:$HOME/.kusionup/current/bin:$HOME/.kusionup/current/kclvm/bin:$PATH
export KUSION_PATH=$HOME/.kusionup/current`
export KUSION_PATH=$HOME/.kusionup/current
export KCLVM_CLANG=/usr/bin/clang`
// ProfileFileSourceContent is the content of the kusionup profile file
ProfileFileSourceContent = `source "$HOME/.kusionup/env"`

Expand Down

0 comments on commit 98bd07f

Please sign in to comment.