Run "Cleaning up" page in ICA iterations too: it allows to remove .la and some .a

files
This commit is contained in:
Pierre Labastie 2020-04-08 08:37:54 +00:00
parent 709eb7470d
commit bdb0761120

View file

@ -250,13 +250,14 @@ chapter6_Makefiles() {
name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's,'$N',,'` name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's,'$N',,'`
# Find the tarball corresponding to our script. # Find the tarball corresponding to our script.
# If it doesn't exist, we skip it in iterations rebuilds (except stripping). # If it doesn't exist, we skip it in iterations rebuilds (except stripping
# and revisedchroot, where .a and .la files are removed).
pkg_tarball=$(sed -n 's/tar -xf \(.*\)/\1/p' $file) pkg_tarball=$(sed -n 's/tar -xf \(.*\)/\1/p' $file)
pkg_version=$(sed -n 's/VERSION=\(.*\)/\1/p' $file) pkg_version=$(sed -n 's/VERSION=\(.*\)/\1/p' $file)
if [[ "$pkg_tarball" = "" ]] && [[ -n "$N" ]] ; then if [[ "$pkg_tarball" = "" ]] && [[ -n "$N" ]] ; then
case "${this_script}" in case "${this_script}" in
*stripping*) ;; *stripping*|*revised*) ;;
*) continue ;; *) continue ;;
esac esac
fi fi