summaryrefslogtreecommitdiff
path: root/net/xymonclient/patches/patch-configure
blob: 193110b3a49ee815b333b1356c5f8c3d95316163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-configure,v 1.1 2011/10/15 23:04:51 spz Exp $

Make sure the toplevel configure script exits on failure.

--- configure.orig	2011-03-08 17:20:28.000000000 +0000
+++ configure
@@ -14,11 +14,11 @@ chmod 755 $BASEDIR/configure* $BASEDIR/b
 
 case "$TARGET" in
   "--client")
-	$BASEDIR/configure.client $*
+	$BASEDIR/configure.client "$@" || exit 1
 	;;
 
   "--server"|"")
-	$BASEDIR/configure.server $*
+	$BASEDIR/configure.server "$@" || exit 1
 	;;
 
   "--help")