Browse files

Make determining srroot work when it's the cwd

  • Loading branch information...
1 parent 592c36a commit baeda39596d058926ca82a009588c5d2e470ddd9 @nwgh committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stoneridge_cronjob.py
View
2 stoneridge_cronjob.py
@@ -162,7 +162,7 @@ def main():
os.execl(*exec_args)
# Figure out where we live so we know where our root directory is
- srroot = os.path.split(__file__)[0]
+ srroot = os.path.split(os.path.abspath(__file__))[0]
# Create a working space for this run
if args.workdir:

0 comments on commit baeda39

Please sign in to comment.