[jhbuild] Properly build when $MAKE contains a space.
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Properly build when $MAKE contains a space.
- Date: Sun, 4 Dec 2011 11:06:37 +0000 (UTC)
commit da8944d8ca987ca48c91b350257a530050406092
Author: Martin Robinson <mrobinson igalia com>
Date: Sat Dec 3 17:09:09 2011 +0100
Properly build when $MAKE contains a space.
autogen.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index d90c548..478dd85 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -159,9 +159,10 @@ configure_with_autotools()
# Check for make. make is required to provide i18n for this script and to
# build and install JHBuild
-hash $MAKE 2>&-
+make_from_environment=`echo $MAKE | cut -d' ' -f1`
+hash $make_from_environment 2>&-
if [ $? -ne 0 ]; then
- echo "\`$MAKE' is required to configure & build $PKG_NAME"
+ echo "\`$make_from_environment' is required to configure & build $PKG_NAME"
exit 1
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]