Commit cbaa7b86 authored by Chaoting Liu's avatar Chaoting Liu

save the variable to user.conf

parent da43c49f
...@@ -219,7 +219,7 @@ configure_buildscripts() { ...@@ -219,7 +219,7 @@ configure_buildscripts() {
echo "_ssh_user=${ssh_user}" >> "$(pwd)/$chakrafolder/user.conf" echo "_ssh_user=${ssh_user}" >> "$(pwd)/$chakrafolder/user.conf"
echo "_ssh_port=${ssh_port}" >> "$(pwd)/$chakrafolder/user.conf" echo "_ssh_port=${ssh_port}" >> "$(pwd)/$chakrafolder/user.conf"
echo "_rsync_server=${rsync_server}" >> "$(pwd)/$chakrafolder/user.conf" echo "_rsync_server=${rsync_server}" >> "$(pwd)/$chakrafolder/user.conf"
echo "_remote_socket=$(ssh ${ssh_user}@${rsync_server} -p ${ssh_port} gpgconf --list-dir agent-socket)" echo "_remote_socket=$(ssh ${ssh_user}@${rsync_server} -p ${ssh_port} gpgconf --list-dir agent-socket)" >> "$(pwd)/$chakrafolder/user.conf"
fi fi
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment