Skip to content

Commit

Permalink
jenkins.py: remove Download/Hunter on --clear-except-download
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Oct 14, 2015
1 parent ac05385 commit 5b1af11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def run():
base_dir = os.path.join(hunter_root, '_Base')
if os.path.exists(base_dir):
print('Clearing directory: {}'.format(base_dir))
shutil.rmtree(os.path.join(base_dir, 'Download', 'Hunter'))
for filename in os.listdir(base_dir):
if filename != 'Download':
to_remove = os.path.join(base_dir, filename)
Expand Down

0 comments on commit 5b1af11

Please sign in to comment.