aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index de1fb8f6..affa715f 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -25,10 +25,14 @@ if [ "$IGNORE_ROOT" -eq 0 ] && [ "$EUID" == "0" ]; then
25fi 25fi
26 26
27COMPOSER_COMMAND='composer' 27COMPOSER_COMMAND='composer'
28REQUIRE_FILE='scripts/require.sh'
28 29
29DIR="${BASH_SOURCE}" 30if [ ! -f "$REQUIRE_FILE" ]; then
30if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi 31 echo "Cannot find $REQUIRE_FILE"
31. "$DIR/require.sh" 32 exit 1
33fi
34
35. "$REQUIRE_FILE"
32 36
33TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) 37TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
34 38