From a481c435ce52937fb341d86eff0a2e30a379db64 Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 23 Aug 2021 18:45:28 +0800 Subject: [PATCH] Fix clean scripts --- src/curl/clean1.ps1 | 2 +- src/jpeg-turbo/clean1.ps1 | 2 ++ src/jpeg-turbo/clean1.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/curl/clean1.ps1 b/src/curl/clean1.ps1 index 0e6ec93..41f007a 100644 --- a/src/curl/clean1.ps1 +++ b/src/curl/clean1.ps1 @@ -4,6 +4,6 @@ if ((Test-Path $install_dir -PathType Container)) { Write-Output "Cleaning ${install_dir}..." # Delete files what we don't want Remove-Item "$install_dir\bin\curl-config" + Remove-Item "$install_dir\lib\cmake" -recurse Remove-Item "$install_dir\lib\pkgconfig" -recurse - Remove-Item "$install_dir\cmake" -recurse } diff --git a/src/jpeg-turbo/clean1.ps1 b/src/jpeg-turbo/clean1.ps1 index 858976f..9c8d1e2 100644 --- a/src/jpeg-turbo/clean1.ps1 +++ b/src/jpeg-turbo/clean1.ps1 @@ -5,4 +5,6 @@ if ((Test-Path $install_dir -PathType Container)) { # Delete files what we don't want # Remove-Item "$install_dir\bin" -recurse Remove-Item "$install_dir\share" -recurse + Remove-Item "$install_dir\lib\cmake" -recurse + Remove-Item "$install_dir\lib\pkgconfig" -recurse } diff --git a/src/jpeg-turbo/clean1.sh b/src/jpeg-turbo/clean1.sh index f225296..62768bc 100644 --- a/src/jpeg-turbo/clean1.sh +++ b/src/jpeg-turbo/clean1.sh @@ -5,4 +5,6 @@ if [ -d "$install_dir" ] ; then # Delete files what we don't want # rm -rf "$install_dir/bin" rm -rf "$install_dir/share" + rm -rf "$install_dir/lib/cmake" + rm -rf "$install_dir/lib/pkgconfig" fi