6d3cf35a6f
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
15 lines
230 B
Bash
Executable File
15 lines
230 B
Bash
Executable File
#! /bin/sh
|
|
|
|
srcdir=`dirname "$0"`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
autoreconf --force -v --install || exit 1
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
exec "$srcdir"/configure "$@"
|
|
fi
|