diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2019-02-04 16:10:08 +0200 |
---|---|---|
committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2019-02-04 16:38:12 +0200 |
commit | 14d0a9c58dc12c089c3d2209ebb1d9b37b68abad (patch) | |
tree | 377c38eccc1b174c17d15ba39c579a98c33e9305 /lang/python/python-package-install.sh | |
parent | f5181d615c2f6361bf107314a786f7a0410526a2 (diff) |
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>
Diffstat (limited to 'lang/python/python-package-install.sh')
-rw-r--r-- | lang/python/python-package-install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/python/python-package-install.sh b/lang/python/python-package-install.sh index e5f6ec893..ae6f2ef77 100644 --- a/lang/python/python-package-install.sh +++ b/lang/python/python-package-install.sh @@ -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 |