diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index 85f35f7fbe..ffa5429962 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
@@ -204,8 +204,8 @@ class IsoImagePlugin(SourcePlugin): | |||
204 | """ | 204 | """ |
205 | isodir = "%s/ISO/" % cr_workdir | 205 | isodir = "%s/ISO/" % cr_workdir |
206 | 206 | ||
207 | if os.path.exists(cr_workdir): | 207 | if os.path.exists(isodir): |
208 | shutil.rmtree(cr_workdir) | 208 | shutil.rmtree(isodir) |
209 | 209 | ||
210 | install_cmd = "install -d %s " % isodir | 210 | install_cmd = "install -d %s " % isodir |
211 | exec_cmd(install_cmd) | 211 | exec_cmd(install_cmd) |