summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-31 16:31:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-31 16:31:18 -0400
commit98e6075af8ea709185edc862d1cc93c0a524a89c (patch)
treedf30631d3db7bc80301c45b915ae700f270824ab /acprep
parente282d55d63dc4b6a701e096232863a4253c191c3 (diff)
downloadfork-ledger-98e6075af8ea709185edc862d1cc93c0a524a89c.tar.gz
fork-ledger-98e6075af8ea709185edc862d1cc93c0a524a89c.tar.bz2
fork-ledger-98e6075af8ea709185edc862d1cc93c0a524a89c.zip
acprep upload was deleting the file after upload
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 1 insertions, 2 deletions
diff --git a/acprep b/acprep
index 1d3735e2..c1a0ddc7 100755
--- a/acprep
+++ b/acprep
@@ -1217,9 +1217,8 @@ class PrepareBuild(CommandLineApp):
self.execute('zip', '%s.zip' % dmg, dmg)
dmg = '%s.zip' % dmg
- self.execute('scp', dmg, 'jw:/srv/ftp/pub/ledger')
-
self.execute('ssh', 'jw', 'rm', '-f', '/srv/ftp/pub/ledger/ledger-*.dmg.zip')
+ self.execute('scp', dmg, 'jw:/srv/ftp/pub/ledger')
self.execute('ssh', 'jw',
'(cd /srv/ftp/pub/ledger; ln -sf %s ledger-current.dmg.zip)' %
basename(dmg))