forked from uncloud/uncloud
fix checkout support
This commit is contained in:
parent
6596e482ca
commit
57eaddb03f
2 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ dir=${0%/*}
|
|||
|
||||
# Ensure version is present - the bundled/shipped version contains a static version,
|
||||
# the git version contains a dynamic version
|
||||
printf "VERSION = \"%s\"\n" "$(git describe)" > ${dir}/ucloud/version.py
|
||||
printf "VERSION = \"%s\"\n" "$(git describe)" > ${dir}/../ucloud/version.py
|
||||
|
||||
libdir=$(cd "${dir}/../" && pwd -P)
|
||||
export PYTHONPATH="${libdir}"
|
||||
|
|
0
scripts/ucloud
Normal file → Executable file
0
scripts/ucloud
Normal file → Executable file
Loading…
Reference in a new issue