diff --git a/.github/workflows/scripts/linux/build-dependencies-qt.sh b/.github/workflows/scripts/linux/build-dependencies-qt.sh index 6daaddc6c8..cbf7de10a2 100755 --- a/.github/workflows/scripts/linux/build-dependencies-qt.sh +++ b/.github/workflows/scripts/linux/build-dependencies-qt.sh @@ -13,6 +13,10 @@ SDL=SDL2-2.30.1 QT=6.6.2 LIBBACKTRACE=ad106d5fdd5d960bd33fae1c48a351af567fd075 +if [ "${INSTALLDIR:0:1}" != "/" ]; then + INSTALLDIR="$PWD/$INSTALLDIR" +fi + mkdir -p deps-build cd deps-build diff --git a/.github/workflows/scripts/macos/build-dependencies.sh b/.github/workflows/scripts/macos/build-dependencies.sh index ee99d98e9f..f8d524c872 100755 --- a/.github/workflows/scripts/macos/build-dependencies.sh +++ b/.github/workflows/scripts/macos/build-dependencies.sh @@ -20,6 +20,10 @@ WEBP=1.3.2 FFMPEG=6.0 QT=6.6.2 +if [ "${INSTALLDIR:0:1}" != "/" ]; then + INSTALLDIR="$PWD/$INSTALLDIR" +fi + mkdir -p deps-build cd deps-build