We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7299e62 commit 056eb04Copy full SHA for 056eb04
gpull.sh
@@ -1,6 +1,6 @@
1
#! /usr/bin/expect -f
2
set timeout 30
3
-for {set i 0} {<=10} {incr i} {
+for {set i 0} {$i<=10} {incr i} {
4
puts "start pulling git "
5
spawn git pull origin master
6
expect "Already up-to-date." { puts "pulling ok"; exit }
gpush.sh
puts "start pushing git "
spawn git push origin master
expect "Everything up-to-date" { puts "pushing ok"; exit }
0 commit comments