Skip to content

Commit

Permalink
-> Line termination fun
Browse files Browse the repository at this point in the history
  • Loading branch information
s-paquette committed Nov 2, 2021
1 parent d07f2be commit f3ef086
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/env.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Location of the .env file
# This is NOT a relative path and should NOT be the same value as SECURE_LOCAL_PATH
# This should be an absolute path on the VM.
# The default value assumes a SECURE_LOCAL_PATH setting of ../parenDir/secure_files/idc/
# The default value assumes a SECURE_LOCAL_PATH setting of ../parenDir/secure_files/
if [ ! -f "/home/vagrant/www/secure_path.env" ]; then
echo "No secure_path.env found - using default value of /home/vagrant/parentDir/secure_files/.env."
echo "No secure_path.env found - using default value of /home/vagrant/secure_files/.env."
echo "If your .env is not at this location, you must make a secure_path.env file with the SECURE_LOCAL_PATH"
echo "value as its only entry and place it in the root directory (/home/vagrant/www)."
export ENV_FILE_PATH=/home/vagrant/parentDir/secure_files/idc/.env
export ENV_FILE_PATH=/home/vagrant/secure_files/.env
else
echo "secure_path.env setting found."
export ENV_FILE_PATH=$(cat /home/vagrant/www/secure_path.env)
Expand Down

0 comments on commit f3ef086

Please sign in to comment.