Better SCODOC_DIR init
This commit is contained in:
parent
9393f0d17b
commit
912c1dbd0b
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user