mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-08-17 14:50:57 +03:00
Change back to the build_scripts dir before the first loop in build_license_directory.sh file
This commit is contained in:
parent
02a71d0f8f
commit
a3e88a2583
@ -21,6 +21,8 @@ IFS=$'\n' read -rd '' -a licenses_array <<< "$license_list"
|
||||
#print the contents of the array
|
||||
printf '%s\n' "${licenses_array[@]}"
|
||||
|
||||
cd ../build_scripts || exit' or 'cd ... || return
|
||||
|
||||
for i in "${licenses_array[@]}"; do
|
||||
if [ -e "$i" ]; then
|
||||
dirname="licenses/$(dirname "$i" | awk -F'/' '{print $NF}')"
|
||||
@ -32,9 +34,6 @@ for i in "${licenses_array[@]}"; do
|
||||
fi
|
||||
done
|
||||
|
||||
mv licenses/ ../dist
|
||||
|
||||
cd ../build_scripts || exit' or 'cd ... || return
|
||||
python3 -m venv ../venv
|
||||
. ../venv/bin/activate
|
||||
# PULL IN THE LICENSES FROM PIP-LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user