X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Finstall.sh;h=cf966a0dd3705d57b6c9946fa399fca7a02125b9;hb=9998c725330b4a99d6d12df60ac8234052e80b6a;hp=54d0bb785b62976109f5b3e98c5da7c8e92e200d;hpb=bccf7a70bc22171904a5bb82d282e9c956684abc;p=github%2Fwallabag%2Fwallabag.git diff --git a/scripts/install.sh b/scripts/install.sh index 54d0bb78..cf966a0d 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,6 +2,10 @@ # You can execute this file to install wallabag # eg: `sh install.sh prod` +DIR="${BASH_SOURCE%/*}" +if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi +. "$DIR/require.sh" + ENV=$1 TAG=$(git describe --tags $(git rev-list --tags --max-count=1))