commit 168801b7f8cdd9708d94c9e4d8218859c3aec3d0 parent 77f75f102b14cebe315df63c2343e48999d6692e Author: SomberNight <somber.night@protonmail.com> Date: Sat, 14 Nov 2020 05:18:12 +0100 contrib/freeze_packages.sh: trivial clean-up Diffstat:
M | contrib/freeze_packages.sh | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/contrib/freeze_packages.sh b/contrib/freeze_packages.sh @@ -26,9 +26,9 @@ for i in '' '-hw' '-binaries' '-binaries-mac' '-build-wine' '-build-mac' '-build source $venv_dir/bin/activate - echo "Installing $m dependencies" + echo "Installing dependencies... (requirements${i}.txt)" - python -m pip install -r $contrib/requirements/requirements${i}.txt --upgrade + python -m pip install -r "$contrib/requirements/requirements${i}.txt" --upgrade echo "OK." @@ -36,13 +36,13 @@ for i in '' '-hw' '-binaries' '-binaries-mac' '-build-wine' '-build-mac' '-build restricted=$(echo $requirements | ${SYSTEM_PYTHON} $contrib/deterministic-build/find_restricted_dependencies.py) requirements="$requirements $restricted" - echo "Generating package hashes..." - rm $contrib/deterministic-build/requirements${i}.txt - touch $contrib/deterministic-build/requirements${i}.txt + echo "Generating package hashes... (requirements${i}.txt)" + rm "$contrib/deterministic-build/requirements${i}.txt" + touch "$contrib/deterministic-build/requirements${i}.txt" for requirement in $requirements; do echo -e "\r Hashing $requirement..." - ${SYSTEM_PYTHON} -m hashin -r $contrib/deterministic-build/requirements${i}.txt ${requirement} + ${SYSTEM_PYTHON} -m hashin -r "$contrib/deterministic-build/requirements${i}.txt" "${requirement}" done echo "OK."