Pārlūkot izejas kodu

patch environment variable assignment behavior

Casey DeLorme 3 gadi atpakaļ
vecāks
revīzija
383d221d68
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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