CI: Support relative dirs in install scripts

This commit is contained in:
TellowKrinkle 2024-03-17 15:40:59 -05:00 committed by Connor McLaughlin
parent 234acf5ca2
commit 0a161f9591
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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