mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
platformtest.sh: don't use "test -e", it isn't portable
(cherry picked from commit e2b85ccde3
)
This commit is contained in:
parent
9a11ab0d1b
commit
ecb55704b7
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# ngIRCd -- The Next Generation IRC Daemon
|
# 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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -65,7 +65,7 @@ if [ -d .git ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$NAME: Checking for \"./configure\" script ..."
|
echo "$NAME: Checking for \"./configure\" script ..."
|
||||||
if [ ! -e ./configure ]; then
|
if [ ! -r ./configure ]; then
|
||||||
echo "$NAME: Running \"./autogen.sh\" ..."
|
echo "$NAME: Running \"./autogen.sh\" ..."
|
||||||
[ -n "$VERBOSE" ] && ./autogen.sh || ./autogen.sh >/dev/null
|
[ -n "$VERBOSE" ] && ./autogen.sh || ./autogen.sh >/dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user