Allow running from other directories`
This commit is contained in:
parent
d525790897
commit
d1ecdb2a38
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $0`
|
||||
python2.6 pesterchum.py $@
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
# pesterchum
|
||||
import os, sys, getopt
|
||||
if os.path.dirname(sys.argv[0]):
|
||||
os.chdir(os.path.dirname(sys.argv[0]))
|
||||
import version
|
||||
version.pcVerCalc()
|
||||
import logging
|
||||
import os, sys, getopt
|
||||
from datetime import *
|
||||
import random
|
||||
import re
|
||||
|
|
Loading…
Reference in a new issue