diff --git a/build/windows/gitlab-ci/2_build-gimp-crossroad.sh b/build/windows/gitlab-ci/2_build-gimp-crossroad.sh index 18c703f677..9ab86b8d19 100644 --- a/build/windows/gitlab-ci/2_build-gimp-crossroad.sh +++ b/build/windows/gitlab-ci/2_build-gimp-crossroad.sh @@ -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