From e2b85ccde360ccc389afb0af12d5d75f0549f666 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 5 Jan 2014 00:48:31 +0100 Subject: [PATCH] platformtest.sh: don't use "test -e", it isn't portable --- contrib/platformtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh index 6a1dc713..76f4169c 100755 --- a/contrib/platformtest.sh +++ b/contrib/platformtest.sh @@ -1,7 +1,7 @@ #!/bin/sh # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors +# Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -65,7 +65,7 @@ if [ -d .git ]; then fi echo "$NAME: Checking for \"./configure\" script ..." -if [ ! -e ./configure ]; then +if [ ! -r ./configure ]; then echo "$NAME: Running \"./autogen.sh\" ..." [ -n "$VERBOSE" ] && ./autogen.sh || ./autogen.sh >/dev/null fi -- 2.39.2