make use of new PROFILEDIR variable in nx-rc

parent 7091a4cd
......@@ -18,7 +18,8 @@ substitute_values () {
-e "s>@DATADIR@>$DATADIR>g" \
-e "s>@DIRINFO_ENABLE@>$DIRINFO_ENABLE>g" \
-e "s>@DOCDIR@>$DOCDIR>g" \
-e "s>@PYTHON@>$PYTHON>g" -i ${SUB_FILES[@]}
-e "s>@PYTHON@>$PYTHON>g" \
-e "s>@PROFILEDIR@>$PROFILEDIR>g" -i ${SUB_FILES[@]}
sed -e "s>//>/>g" -i ${SUB_FILES[@]}
}
......@@ -25,7 +25,7 @@ export BSNG_VERSION=@VERSION@
export BSNG_DOCS=@DOCDIR@/bashstyle-ng/index.html
if [[ ! $BSNG_PROFILED ]]; then
. /etc/profile.d/bashstyle.sh
. @PROFILEDIR@/bashstyle.sh
fi
ERR_MSG=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment