aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-03-27 16:27:07 +0000
committerLouise Crow <louise.crow@gmail.com>2015-03-27 16:27:07 +0000
commitf43bb580cf8047783bda7dd7db63381fe3189519 (patch)
treeff4d61d18036938b279de185d9b50c5ee773296d /script
parent96a2a89e20e04a3fee75ff6e042f301f738bd864 (diff)
parentb6afb0020ba36b4fde68c4d6b1e9ae98b0a01463 (diff)
Merge branch 'issues/2218-filtering-links' of ssh://git.mysociety.org/data/git/public/alaveteli into release/0.21
Diffstat (limited to 'script')
-rwxr-xr-xscript/wad4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/wad b/script/wad
index 658ce37ef..98830e4a2 100755
--- a/script/wad
+++ b/script/wad
@@ -330,6 +330,8 @@ class Wad
end
def s3_configure
+ return log "ENV['S3_CREDENTIALS'] not present." unless ENV['S3_CREDENTIALS']
+
Presss.config = {
:region => s3_region,
:bucket_name => s3_bucket_name,
@@ -424,7 +426,7 @@ class Wad
end
def self.setup
- new.setup
+ ENV['S3_CREDENTIALS'] ? new.setup : new.install_bundle
end
end