bin/git_cap in magic_recipes-0.0.27 vs bin/git_cap in magic_recipes-0.0.28
- old
+ new
@@ -11,25 +11,29 @@
spawn cap deploy
match_max 100000
# Look for user prompt
-expect "*?sername:*"
+# expect "*?sername:*"
+expect "*?sername for 'https://github.com':*"
send -- "$g_user\r"
send -- "\r"
# Look for passwod prompt
-expect "*?assword:*"
+# expect "*?assword:*"
+expect "*?assword for *@github.com':*"
send -- "$g_pwd\r"
send -- "\r"
# Look for user prompt
-expect "*?sername:*"
+# expect "*?sername:*"
+expect "*?sername for 'https://github.com':*"
send -- "$g_user\r"
send -- "\r"
# Look for passwod prompt
-expect "*?assword:*"
+# expect "*?assword:*"
+expect "*?assword for *@github.com':*"
send -- "$g_pwd\r"
send -- "\r"
expect eof
\ No newline at end of file