[cbootimage PATCH 1/2] autogen.sh: allow spaced in configure arguments

Stephen Warren
2013-08-23T18:56:01Z

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Using "$@" (rather than #@) quotes any arguments if required. This is
useful if you want to run ./autogen.sh CFLAGS="-ggdb -O0".

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
autogen.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index e925023..530783b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,4 @@
#!/bin/sh -e

autoreconf --install --symlink
-./configure $@
-
+./configure "$@"
--
1.8.1.5