Candidate_v1.6.1
Last change
on this file was 9fd196, checked in by Frederik Heber <heber@…>, 13 years ago |
Added bash_completion file.
- use as . utils/Bash/bash_completion, installed in bin folder.
- moved all python files in utils into subfolder Python therein.
- We scan molecuilder's help output for the present actions and return in
COMPREPLY, fully capable of giving option to last action and all available
actions in any other case.
- we expand files if no "--" is given.
- TESTFIX: Python/BoxMaker needs to call boxmaker.py from utils/Python.
|
-
Property mode
set to
100644
|
File size:
459 bytes
|
Rev | Line | |
---|
[04e1fb] | 1 | #! /bin/sh
|
---|
| 2 | #
|
---|
| 3 | # Script taken from Trond Norbye (Couchbase.com) with small modifications.
|
---|
| 4 | #
|
---|
| 5 | # This script is intended to be copied to foo if python script is called foo.py
|
---|
| 6 | # and will call same-named script with exported and correctly set PYTHONPATH.
|
---|
| 7 |
|
---|
| 8 | prefix="@prefix@"
|
---|
| 9 | exec_prefix="@exec_prefix@"
|
---|
| 10 | if test -z "${PYTHONPATH}"; then
|
---|
| 11 | PYTHONPATH=@pyexecdir@
|
---|
| 12 | else
|
---|
| 13 | PYTHONPATH=@pyexecdir@:${PYTHONPATH}
|
---|
| 14 | fi
|
---|
| 15 | export PYTHONPATH
|
---|
| 16 | exec @pyexecdir@/`basename $0`.py "$@"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.