gkeys.log: Isolate file-handler code in the logpath branch
[gentoo-keys.git] / testpath
1 # Sample file demonstrating an easy method for running the
2 # git sources without the need for installing.
3
4
5 # Edit the paths below and save the file as "testpath"
6 # the file will be ignored by git.
7
8 # Example usage:
9
10 # $ cd dev/git/esearch
11 # $ source ./testpath
12 # $ esearch some-package
13
14 if [[ "$SHELL" =~ "zsh" ]]; then
15     export PATH="$(dirname $0)/../pyGPG/bin:$(dirname $0)/bin:${PATH}"
16     export PYTHONPATH="$(dirname $0)/../pyGPG/:$(dirname $0)/../ssl-fetch/:$(dirname $0)/:${PYTHONPATH}"
17 else
18     export PATH="$(dirname $BASH_SOURCE[0])/../pyGPG/bin:$(dirname $BASH_SOURCE[0])/bin:${PATH}"
19     export PYTHONPATH="$(dirname $BASH_SOURCE[0])/../pyGPG/:$(dirname $BASH_SOURCE[0])/../ssl-fetch/:$(dirname $BASH_SOURCE[0])/:${PYTHONPATH}"
20 fi