build/macos: Fix macOS CWD error message

It should direct to gimp-web-devel
This commit is contained in:
Bruno Lopes 2026-04-02 23:19:04 -03:00
parent a9e1f665dd
commit 9cfccfb968
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ case $(readlink /proc/$$/exe) in
esac
set -e
if [ "$0" != 'build/macos/1_build-deps-macports.sh' ] && [ $(basename "$PWD") != 'macos' ]; then
printf '\033[31m(ERROR)\033[0m: Script called from wrong dir. Please, call this script from the root of gimp git dir/\n'
printf '\033[31m(ERROR)\033[0m: Script called from wrong dir. Please, read: https://developer.gimp.org/core/setup/build/macos/\n'
exit 1
elif [ $(basename "$PWD") = 'macos' ]; then
cd ../../..

View file

@ -8,7 +8,7 @@ case $(readlink /proc/$$/exe) in
esac
set -e
if [ "$0" != 'build/macos/2_build-gimp-macports.sh' ] && [ $(basename "$PWD") != 'macos' ]; then
printf '\033[31m(ERROR)\033[0m: Script called from wrong dir. Please, call this script from the root of gimp git dir/\n'
printf '\033[31m(ERROR)\033[0m: Script called from wrong dir. Please, read: https://developer.gimp.org/core/setup/build/macos/\n'
exit 1
elif [ $(basename "$PWD") = 'macos' ]; then
cd ../../..