summaryrefslogtreecommitdiff
path: root/net/xymon/patches/patch-configure
blob: 68b1a82d45a4f9f1fdea14cb96528e02f3b1be70 (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 16:28:22 dholland Exp $

Make sure the toplevel configure script exits on failure.

--- configure~	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")