tcontrib/freeze_packages.sh: trivial clean-up - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 168801b7f8cdd9708d94c9e4d8218859c3aec3d0 DIR parent 77f75f102b14cebe315df63c2343e48999d6692e HTML 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(-) --- DIR diff --git a/contrib/freeze_packages.sh b/contrib/freeze_packages.sh t@@ -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." t@@ -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."