build/windows: Little fix after b38d0455

This commit is contained in:
Bruno 2024-06-15 09:38:12 -03:00
parent fb4cd9aedc
commit 8315967735

View file

@ -21,10 +21,10 @@ fi
if [ ! -d '_build-x64' ]; then
echo -e '\033[31m(ERROR)\033[0m: Before running this script, first build GIMP natively in _build-x64'
fi
if [ ! -d '../_install-x64' ]; then
echo -e '\033[31m(ERROR)\033[0m: Before running this script, first install GIMP natively in ../_install-x64'
if [ ! -d "${PARENT_DIR}_install-x64" ]; then
echo -e "\033[31m(ERROR)\033[0m: Before running this script, first install GIMP natively in ${PARENT_DIR}_install-x64"
fi
if [ ! -d '_build-x64' ] || [ ! -d '../_install-x64' ]; then
if [ ! -d '_build-x64' ] || [ ! -d "${PARENT_DIR}_install-x64" ]; then
echo 'Patches are very welcome: https://gitlab.gnome.org/GNOME/gimp/-/issues/11544'
exit 1
fi