Commit Diff
Diff:
7b358a57acfbb6e70f7c63d796b1e45e86431d1f
e2b85ccde360ccc389afb0af12d5d75f0549f666
Commit:
e2b85ccde360ccc389afb0af12d5d75f0549f666
Tree:
993d1994f9b80595099669da6088688387a6df36
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Sat Jan 4 23:50:11 2014 UTC
Message:
platformtest.sh: don't use "test -e", it isn't portable
blob - 6a1dc7134f8a1175ec67541c62a5b81135420126
blob + 76f4169c70843ffb0ba88b5effe94101bd949545
--- contrib/platformtest.sh
+++ 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
IRCNow