From: Alexander Barton Date: Sat, 4 Jan 2014 23:48:31 +0000 (+0100) Subject: platformtest.sh: don't use "test -e", it isn't portable X-Git-Tag: rel-22-rc1~70 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=e2b85ccde360ccc389afb0af12d5d75f0549f666 platformtest.sh: don't use "test -e", it isn't portable --- 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