summaryrefslogtreecommitdiff
path: root/net/xymon/patches/patch-configure
blob: 593f317ff04e4d350b0ba5269c040f100bb8bf71 (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.5 2017/09/28 10:40:35 spz Exp $

Make sure the toplevel configure script exits on failure.

--- configure.orig	2014-09-28 09:39:28.000000000 +0000
+++ configure
@@ -14,11 +14,11 @@ chmod 755 $BASEDIR/configure* $BASEDIR/b
 
 case "$TARGET" in
   "--client")
-	exec $BASEDIR/configure.client $*
+	exec $BASEDIR/configure.client "$@" || exit 1
 	;;
 
   "--server"|"")
-	exec $BASEDIR/configure.server $*
+	exec $BASEDIR/configure.server "$@" || exit 1
 	;;
 
   "--help")