forked from ScoDoc/ScoDoc
Fix: config scripts when working in a symlinked directory
This commit is contained in:
parent
94238578ec
commit
e4168f0786
@ -12,7 +12,7 @@ umask 0022
|
|||||||
|
|
||||||
export SCODOC_DIR=/opt/scodoc/Products/ScoDoc
|
export SCODOC_DIR=/opt/scodoc/Products/ScoDoc
|
||||||
|
|
||||||
export SCODOC_VAR_DIR=$(realpath "$SCODOC_DIR/../../var/scodoc")
|
export SCODOC_VAR_DIR=$(realpath -L "$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"
|
||||||
export SCODOC_LOGOS_DIR="${SCODOC_VAR_DIR}/config/logos"
|
export SCODOC_LOGOS_DIR="${SCODOC_VAR_DIR}/config/logos"
|
||||||
|
@ -82,6 +82,7 @@ then
|
|||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo 'Attention: pas de configuration trouvee pour "'"$DEPT"'"'
|
echo 'Attention: pas de configuration trouvee pour "'"$DEPT"'"'
|
||||||
|
echo " fichier cherché: $cfg_pathname"
|
||||||
echo " => ne fait rien."
|
echo " => ne fait rien."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user