Skip to content

Commit

Permalink
Minor tweak to packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
jdent02 committed Jul 9, 2018
1 parent 220f3d4 commit 2334e27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/appleseed.package.py
Expand Up @@ -446,8 +446,11 @@ def alter_stage(self):
return

def deploy_stage_to_package_directory(self):
package_directory = os.path.join(self.settings.package_output_path, "appleseed")
progress("Removing existing package directory")
safe_delete_directory(package_directory)
progress("Deploying staging directory to package directory")
shutil.copytree("appleseed", os.path.join(self.settings.package_output_path, "appleseed"))
shutil.copytree("appleseed", package_directory)

def build_final_zip_file(self):
progress("Building final zip file from staging directory")
Expand Down

0 comments on commit 2334e27

Please sign in to comment.