Patchwork configure: fix --sysconfdir specification

login
register
mail settings
Submitter Andre Przywara
Date March 8, 2010, 1:09 p.m.
Message ID <1268053788-28761-1-git-send-email-andre.przywara@amd.com>
Download mbox | patch
Permalink /patch/47115/
State New
Headers show

Comments

Andre Przywara - March 8, 2010, 1:09 p.m.
--sysconfdir requires a parameter (the path), this should be reflected
in the case pattern.

Reported-by: Frank Arnold <frank.arnold@amd.com>
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Aurelien Jarno - March 13, 2010, 11:08 a.m.
On Mon, Mar 08, 2010 at 02:09:48PM +0100, Andre Przywara wrote:
> --sysconfdir requires a parameter (the path), this should be reflected
> in the case pattern.
> 
> Reported-by: Frank Arnold <frank.arnold@amd.com>
> Signed-off-by: Andre Przywara <andre.przywara@amd.com>


Thanks, applied.

> ---
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure b/configure
> index f55baf0..d3b4df9 100755
> --- a/configure
> +++ b/configure
> @@ -495,7 +495,7 @@ for opt do
>      static="yes"
>      LDFLAGS="-static $LDFLAGS"
>    ;;
> -  --sysconfdir) sysconfdir="$optarg"
> +  --sysconfdir=*) sysconfdir="$optarg"
>    ;;
>    --disable-sdl) sdl="no"
>    ;;
> -- 
> 1.6.1.3
> 
> 
> 
> 
>

Patch

diff --git a/configure b/configure
index f55baf0..d3b4df9 100755
--- a/configure
+++ b/configure
@@ -495,7 +495,7 @@  for opt do
     static="yes"
     LDFLAGS="-static $LDFLAGS"
   ;;
-  --sysconfdir) sysconfdir="$optarg"
+  --sysconfdir=*) sysconfdir="$optarg"
   ;;
   --disable-sdl) sdl="no"
   ;;