Skip to content

Commit

Permalink
Tiny fix for bundle-puzzlecad target in admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-siegel committed Mar 11, 2021
1 parent 4c9061d commit 7e0755b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def bundle_puzzlecad(version, run_tests = True):
shutil.copy2('../src/main/scad/puzzlecad.scad', '../out/dist')
shutil.copy2('../src/main/scad/puzzlecad-examples.scad', '../out/dist')
shutil.copy2('../src/main/scad/dist/half-hour-example.scad', '../out/dist')
shutil.rmtree('../out/dist/puzzlecad')
if (os.path.exists('../out/dist/puzzlecad')):
shutil.rmtree('../out/dist/puzzlecad')
shutil.copytree('../src/main/scad/puzzlecad', '../out/dist/puzzlecad')

print('Creating archive ...')
Expand Down

0 comments on commit 7e0755b

Please sign in to comment.