mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 00:51:19 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user