diff options
Diffstat (limited to 'scripts/clear.py')
-rw-r--r-- | scripts/clear.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/clear.py b/scripts/clear.py deleted file mode 100644 index cc25e34..0000000 --- a/scripts/clear.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -import shutil - -from jhbuild.commands import Command, register_command - -class cmd_clear(Command): - - name = 'clear' - usage_args = '' - - def run(self, config, options, args): - if os.path.exists(config.checkoutroot): - shutil.rmtree(config.checkoutroot) - - if os.path.exists(config.prefix): - shutil.rmtree(config.prefix) - -register_command(cmd_clear) |