forked from ungleich-public/cdist
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):
|
for entry in os.listdir(current_dir):
|
||||||
rel_entry_path = os.path.join(sub_dir, entry)
|
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)
|
dst = os.path.join(self.conf_path, sub_dir, entry)
|
||||||
|
|
||||||
# Already exists? remove and link
|
# Already exists? remove and link
|
||||||
|
|
|
@ -4,6 +4,9 @@ Changelog
|
||||||
* Changes are always commented with their author in (braces)
|
* Changes are always commented with their author in (braces)
|
||||||
* Exception: No braces means author == Nico Schottelius
|
* Exception: No braces means author == Nico Schottelius
|
||||||
|
|
||||||
|
2.3.1:
|
||||||
|
* Core: Support relative paths for configuration directories
|
||||||
|
|
||||||
2.3.0: 2013-08-12
|
2.3.0: 2013-08-12
|
||||||
* Core: Added support for cdist shell
|
* Core: Added support for cdist shell
|
||||||
* Documentation: Improved some manpages
|
* Documentation: Improved some manpages
|
||||||
|
|
Loading…
Reference in a new issue