Browse Source

patch environment variable assignment behavior

Casey DeLorme 3 năm trước cách đây
mục cha
commit
383d221d68
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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