Better SCODOC_DIR init

This commit is contained in:
viennet 2020-12-06 15:28:49 +01:00
parent 9393f0d17b
commit 912c1dbd0b
2 changed files with 3 additions and 3 deletions

View File

@ -10,8 +10,8 @@ export PATH="${PATH}":/usr/sbin:/sbin
# ScoDoc: environment variables # ScoDoc: environment variables
umask 0022 umask 0022
export SCODOC_DIR=${PWD%/*} export SCODOC_DIR=/opt/scodoc/Products/ScoDoc
# normalement: /opt/scodoc/Products/ScoDoc
export SCODOC_VAR_DIR=$(realpath "$SCODOC_DIR/../../var/scodoc") export SCODOC_VAR_DIR=$(realpath "$SCODOC_DIR/../../var/scodoc")
# = /opt/scodoc/var/scodoc # = /opt/scodoc/var/scodoc
export SCODOC_VERSION_DIR="${SCODOC_VAR_DIR}/config/version" export SCODOC_VERSION_DIR="${SCODOC_VAR_DIR}/config/version"

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Modify ScoDoc install tu use systemd # Modify ScoDoc install to use systemd
# E. Viennet, 2020-12-04 # E. Viennet, 2020-12-04
source config.sh source config.sh
source utils.sh source utils.sh