Commit 6343aa62 by Tim Bielawa

Add environment updating script 'env-setup' to facilitate running ansible from a git checkout.

parent a57f7ae0
*~
*.py[co]
build
# Emacs backup files...
*~
.\#*
*.xml
\ No newline at end of file
*.xml
*.[0-9]
The 'env-setup' script modifies your environment to allow you to run
ansible from a git checkout.
To use it from the root of a checkout:
$ . ./hacking/env-setup
Note the space between the '.' and the './'
Man pages will not load until you run 'make docs' from the root of the
checkout.
# -*- mode: shell-script -*-
PREFIX_PYTHONPATH="`pwd`/lib/ansible:`pwd`/lib"
PREFIX_PATH="`pwd`/bin"
PREFIX_MANPATH="`pwd`/docs/man"
echo "Prefixing PYTHONPATH with $PREFIX_PYTHONPATH"
export PYTHONPATH=$PREFIX_PYTHONPATH:$PYTHONPATH
echo "Prefixing PATH with $PREFIX_PATH"
export PATH=$PREFIX_PATH:$PATH
echo "Prefixing MANPATH with $PREFIX_MANPATH"
export MANPATH=$PREFIX_MANPATH:$MANPATH
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