summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-23 17:21:53 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-23 17:21:53 -0400
commit8b175c7d6d807f84543782f7386f8e9d29090d73 (patch)
tree30fdc0aa344c3cfa96234417ca85c0588064ca15
parent2ec34b280f859ffa45db8ab444b705f1a5d1b856 (diff)
downloadfork-ledger-8b175c7d6d807f84543782f7386f8e9d29090d73.tar.gz
fork-ledger-8b175c7d6d807f84543782f7386f8e9d29090d73.tar.bz2
fork-ledger-8b175c7d6d807f84543782f7386f8e9d29090d73.zip
Removed old ledger disk images when uploading
-rwxr-xr-xacprep1
1 files changed, 1 insertions, 0 deletions
diff --git a/acprep b/acprep
index 39d3c928..1d3735e2 100755
--- a/acprep
+++ b/acprep
@@ -1219,6 +1219,7 @@ class PrepareBuild(CommandLineApp):
self.execute('scp', dmg, 'jw:/srv/ftp/pub/ledger')
+ self.execute('ssh', 'jw', 'rm', '-f', '/srv/ftp/pub/ledger/ledger-*.dmg.zip')
self.execute('ssh', 'jw',
'(cd /srv/ftp/pub/ledger; ln -sf %s ledger-current.dmg.zip)' %
basename(dmg))