correct a test
This commit is contained in:
parent
8fcb941ca3
commit
4ded7bc6eb
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ do
|
|||
exit 1
|
||||
fi
|
||||
DATE=$(date +"%Y%m%d-%H%M%S")
|
||||
if [ -d "$SERVERBASE/redirect.cfg" ]; then
|
||||
if [ -f "$SERVERBASE/redirect.cfg" ]; then
|
||||
PORT=$(sed -re '/port=/!d;s/[ \t]*port="?([0-9]+)"?/\1/' $SERVERBASE/redirect.cfg)
|
||||
fi
|
||||
BUILDDIR=$(ls -l $SERVERBASE/build | sed -e 's,.*\(\.\./builds/wesnothd-.*/\),\1,')
|
||||
|
|
Loading…
Add table
Reference in a new issue