config/functions: quote variables

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-04 10:13:37 +01:00
parent d4480c9b0e
commit 1bbe6ed3e1

View File

@ -117,39 +117,39 @@ add_group() {
do_autoreconf() { do_autoreconf() {
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
if [ -e $ROOT/$TOOLCHAIN/bin/autoconf ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/autoconf" ]; then
export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/automake ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/automake" ]; then
export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/autopoint ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/autopoint" ]; then
export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/libtoolize ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/libtoolize" ]; then
export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/intltoolize ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/intltoolize" ]; then
export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/aclocal ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/aclocal" ]; then
export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR" export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/autoheader ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/autoheader" ]; then
export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/libtool ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/libtool" ]; then
export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
fi fi
if [ -e $ROOT/$TOOLCHAIN/bin/autoreconf -a -e $INTLTOOLIZE ]; then if [ -e "$ROOT/$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
mkdir -p $ACLOCAL_DIR mkdir -p $ACLOCAL_DIR
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR" export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
$AUTORECONF $@ $AUTORECONF $@