Browse Source

patch environment variable assignment behavior

Casey DeLorme 3 years ago
parent
commit
383d221d68
1 changed files with 5 additions and 0 deletions
  1. 5 0
      setup/install.sh

+ 5 - 0
setup/install.sh

@@ -22,6 +22,11 @@ while [ -z "$root_password" ]; do read -p "please enter a root password: " -s ro
 while [ -z "$username" ]; do read -p "please enter your username: " username; done
 while [ -z "$password" ]; do read -p "please enter your password: " -s password && echo ""; done
 
+# export environment variables for arch.sh
+export root_password
+export username
+export password
+
 # optionally print all commands
 [ -n "$DEBUG" ] && set -x