mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
!17 [build] fix set version in mac build env
Merge pull request !17 from wuhuiquan/ohos_config
This commit is contained in:
@@ -51,7 +51,7 @@ download_rust() {
|
||||
get_new_version() {
|
||||
pushd ${root_build_dir}/../harmony/llvm/
|
||||
local commit_id_full=$(git rev-parse HEAD)
|
||||
local commit_id_short=$(expr substr "$commit_id_full" 1 10)
|
||||
local commit_id_short=${commit_id_full:1:10}
|
||||
new_version="OHOS llvm-preject $commit_id_short"
|
||||
popd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user