summaryrefslogtreecommitdiff
path: root/script/generate_bearer_token
diff options
context:
space:
mode:
authorthea <ta.kupler@gmail.com>2016-09-20 12:13:30 +0200
committerthea <ta.kupler@gmail.com>2016-09-20 12:13:30 +0200
commita95c0dfe3f70671ee354648fc4b25a79d5b57824 (patch)
treecf5c037d2851ae05e3e044c696e333e382839a64 /script/generate_bearer_token
parent94a5b32a58f5f4fb63eaf677a91af63e1fe3e325 (diff)
deleted leap_web from projectroot
Diffstat (limited to 'script/generate_bearer_token')
-rwxr-xr-xscript/generate_bearer_token4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/generate_bearer_token b/script/generate_bearer_token
index 60e4600..3a09382 100755
--- a/script/generate_bearer_token
+++ b/script/generate_bearer_token
@@ -55,8 +55,8 @@ if options[:projectroot].nil? then
puts "You didn't tell us the directory to have your secrets-file created or being filled. Feel free to copy/paste your bearer_token:"
puts $bearer_token
else
- if File.exist?("#{options[:projectroot]}/leap_web/config/secrets.yml")
- secrets = YAML.load_file("#{options[:projectroot]}/leap_web/config/secrets.yml")
+ if File.exist?("#{options[:projectroot]}/config/secrets.yml")
+ secrets = YAML.load_file("#{options[:projectroot]}/config/secrets.yml")
else
puts "Please make sure that you created a secrets-file as described in the documentation or have given the correct directory. No secrets-file could be found."
exit