forked from BioDynaMo/biodynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·32 lines (27 loc) · 974 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Copyright (C) The BioDynaMo Project.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# See the LICENSE file distributed with this work for details.
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# -----------------------------------------------------------------------------
if [[ $# -ne 0 ]]; then
echo "ERROR: Wrong number of arguments.
Description:
This script installs/updates the currently checked out version of biodynamo
No Arguments"
exit 1
fi
set -e
BDM_PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# include util functions
. $BDM_PROJECT_DIR/util/installation/common/util.sh
# call install script for the detected OS
CallOSSpecificScript $BDM_PROJECT_DIR install.sh