diff options
author | JF Ding <jian-feng.ding@intel.com> | 2012-05-30 10:03:53 +0800 |
---|---|---|
committer | JF Ding <jian-feng.ding@intel.com> | 2012-05-30 10:03:53 +0800 |
commit | 0c86df73e7998e13c6e1278be86f90b08bdd670b (patch) | |
tree | 38813142522c356f7e4dc8e24842a85fa449fbd8 | |
parent | e7139b0d4633f810407755261103f1bae7ef4480 (diff) | |
download | kickstarter-0c86df73e7998e13c6e1278be86f90b08bdd670b.tar.gz kickstarter-0c86df73e7998e13c6e1278be86f90b08bdd670b.tar.bz2 kickstarter-0c86df73e7998e13c6e1278be86f90b08bdd670b.zip |
fixed the bug of getting path of configs
-rw-r--r-- | kswriter/KSWriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kswriter/KSWriter.py b/kswriter/KSWriter.py index d60e31d..2227813 100644 --- a/kswriter/KSWriter.py +++ b/kswriter/KSWriter.py @@ -19,7 +19,7 @@ def mkdir_p(path): class KSWriter(): def __init__(self, configs=None, repos=None, outdir=".", config=None, packages=False): self.dist = None - self.image_filename = configs + self.image_filename = os.path.abspath(os.path.expanduser(configs)) self.repo_filename = repos self.outdir = outdir self.packages = packages |