In build/gtk-bundle-from-msys2.sh:

> +		if [ -f .INSTALL ]; then
> +			echo "Running post_install script for \"$i\""
> +			/bin/bash -c ". .INSTALL; post_install"
> +		fi
> +		rm -f .INSTALL .MTREE .PKGINFO .BUILDINFO
> +	done
> +}
> +
> +move_extracted_files() {
> +	echo "Move extracted data to destination directory"
> +	if [ -d mingw32 ]; then
> +		for d in bin etc home include lib libexec locale sbin share ssl var; do
> +			if [ -d "mingw32/$d" ]; then
> +				rm -rf $d
> +				# prevent sporadic 'permission denied' errors on my system, not sure why they happen
> +				sleep 0.5

Isn't this deleting not only $d?


Reply to this email directly or view it on GitHub.