File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR
5
5
6
- VERSION=devel-nightly
6
+ VERSION=2.1.0-rc1
7
7
NAME=ArangoDB-$VERSION
8
8
9
9
if [ ! -d " $DIR /$NAME " ]; then
10
10
# download ArangoDB
11
- echo " wget https ://www.arangodb.org/repositories/nightly /travisCI/$NAME .tar.gz"
12
- wget https ://www.arangodb.org/repositories/nightly /travisCI/$NAME .tar.gz
11
+ echo " wget http ://www.arangodb.org/repositories/travisCI/$NAME .tar.gz"
12
+ wget http ://www.arangodb.org/repositories/travisCI/$NAME .tar.gz
13
13
echo " tar zxf $NAME .tar.gz"
14
14
tar zvxf $NAME .tar.gz
15
15
fi
@@ -19,7 +19,11 @@ PID=$(echo $PPID)
19
19
TMP_DIR=" /tmp/arangodb.$PID "
20
20
PID_FILE=" /tmp/arangodb.$PID .pid"
21
21
ARANGODB_DIR=" $DIR /$NAME "
22
- ARANGOD=" ${ARANGODB_DIR} /bin/arangod_x86_64"
22
+
23
+ ARANGOD=" ${ARANGODB_DIR} /bin/arangod"
24
+ if [ " $ARCH " == " x86_64" ]; then
25
+ ARANGOD=" ${ARANGOD} _x86_64"
26
+ fi
23
27
24
28
# create database directory
25
29
mkdir ${TMP_DIR}
@@ -53,3 +57,4 @@ while [[ -z `curl -s 'http://127.0.0.1:8529/_api/version' ` ]] ; do
53
57
done
54
58
55
59
echo " ArangoDB is up"
60
+
You can’t perform that action at this time.
0 commit comments