Commit 2b2fa153 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

rcfile name will be stripped of leading path before being used in rest of code

parent a86a4278
......@@ -313,7 +313,11 @@ class CycleControl(dict):
# expand jobrcfilename to include exec dir from now on.
self['jobrcfilename'] = os.path.join(self['dir.exec'],self['jobrcfilename'])
# First strip current leading path from filename
strippedname = os.path.split(self['jobrcfilename'])[-1]
self['jobrcfilename'] = os.path.join(self['dir.exec'],strippedname)
Supports Markdown
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