summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2014-01-05 00:48:31 +0100
committerAlexander Barton <alex@barton.de>2014-01-05 00:50:11 +0100
commite2b85ccde360ccc389afb0af12d5d75f0549f666 (patch)
tree993d1994f9b80595099669da6088688387a6df36 /contrib
parent7b358a57acfbb6e70f7c63d796b1e45e86431d1f (diff)
downloadngircd-e2b85ccde360ccc389afb0af12d5d75f0549f666.tar.gz
ngircd-e2b85ccde360ccc389afb0af12d5d75f0549f666.zip
platformtest.sh: don't use "test -e", it isn't portable
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/platformtest.sh4
1 files 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