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
umask 0022
export SCODOC_DIR=${PWD%/*}
# normalement: /opt/scodoc/Products/ScoDoc
export SCODOC_DIR=/opt/scodoc/Products/ScoDoc
export SCODOC_VAR_DIR=$(realpath "$SCODOC_DIR/../../var/scodoc")
# = /opt/scodoc/var/scodoc
export SCODOC_VERSION_DIR="${SCODOC_VAR_DIR}/config/version"

View File

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