Ensure SERVER_PATH is unique.

This commit is contained in:
Donald Morton
2021-04-27 08:31:03 -05:00
parent 67de74185b
commit d8b8cefbb7

View File

@@ -2,7 +2,7 @@
set -e
ORIGINAL_PATH=$PWD
SERVER_PATH=/tmp/server
SERVER_PATH=$(mktemp -d /tmp/server-XXXX)
git clone git://github.com/Graylog2/graylog2-server.git $SERVER_PATH
cd $SERVER_PATH