support relative paths in -c argument
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
90c66966e7
commit
49d9f1f475
2 changed files with 4 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ class Local(object):
|
|||
|
||||
for entry in os.listdir(current_dir):
|
||||
rel_entry_path = os.path.join(sub_dir, entry)
|
||||
src = os.path.join(conf_dir, sub_dir, entry)
|
||||
src = os.path.abspath(os.path.join(conf_dir, sub_dir, entry))
|
||||
dst = os.path.join(self.conf_path, sub_dir, entry)
|
||||
|
||||
# Already exists? remove and link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue