Deps: Fix Linux build script to take relative paths
This commit is contained in:
parent
ac3affe472
commit
9eb18449a7
|
@ -7,9 +7,12 @@ if [ "$#" -ne 1 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
INSTALLDIR="$1"
|
|
||||||
SCRIPTDIR=$(realpath $(dirname "${BASH_SOURCE[0]}"))
|
SCRIPTDIR=$(realpath $(dirname "${BASH_SOURCE[0]}"))
|
||||||
NPROCS="$(getconf _NPROCESSORS_ONLN)"
|
NPROCS="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
INSTALLDIR="$1"
|
||||||
|
if [ "${INSTALLDIR:0:1}" != "/" ]; then
|
||||||
|
INSTALLDIR="$PWD/$INSTALLDIR"
|
||||||
|
fi
|
||||||
|
|
||||||
LIBBACKTRACE=ad106d5fdd5d960bd33fae1c48a351af567fd075
|
LIBBACKTRACE=ad106d5fdd5d960bd33fae1c48a351af567fd075
|
||||||
LIBJPEG=9f
|
LIBJPEG=9f
|
||||||
|
|
Loading…
Reference in New Issue