python,python3: move .exe removal in python-package-install.sh script

It's a common operation for both Python & Python3, so move it to the
script `python-package-install.sh` script.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2019-02-04 16:10:08 +02:00
parent f5181d615c
commit 14d0a9c58d
3 changed files with 2 additions and 4 deletions

View File

@@ -47,6 +47,8 @@ python="$4"
mode="$5"
filespec="$6"
find "$src_dir" -name "*\.exe" | xargs rm -f
process_filespec "$src_dir" "$dst_dir" "$filespec" || {
echo "process filespec error-ed"
exit 1