Skip to content

Commit

Permalink
Set yang2dsdl env variables in env.sh; prefixed the vars with PYANG_
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj4668@gmail.com committed Mar 16, 2010
1 parent 2585b3f commit ea8f8e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/yang2dsdl
Expand Up @@ -6,8 +6,8 @@ target=get-reply
dir=input
name="_NO_NAME_"

xslt_dir=${XSLT_DIR:-/usr/local/share/yang/xslt}
rng_lib=${RNG_LIBDIR:-/usr/local/share/yang/schema}/relaxng-lib.rng
xslt_dir=${PYANG_XSLT_DIR:-/usr/local/share/yang/xslt}
rng_lib=${PYANG_RNG_LIBDIR:-/usr/local/share/yang/schema}/relaxng-lib.rng

usage() {
cat <<EOF
Expand Down
2 changes: 2 additions & 0 deletions env.sh
Expand Up @@ -8,4 +8,6 @@ export PATH=$p/bin:$PATH
export MANPATH=$p/man:$MANPATH
export PYTHONPATH=$p:$PYTHONPATH
export YANG_MODPATH=$p/modules:$YANG_MODPATH
export PYANG_XSLT_DIR=$p/xslt
export PYANG_RNG_LIBDIR=$p/schema
export W=$p

0 comments on commit ea8f8e9

Please sign in to comment.