Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function login_shelf {
- expect -c "
- set timeout 15
- spawn $1
- expect "password:"
- send "$PWr"
- expect "#"
- sleep 1
- exit
- "
- }
- # login and make the valgrind directory at /sfs/software/shelf/current
- set -- /opt/swe/tools/ext/gnu/valgrind-3.7.0/i686-linux2.6/lib/valgrind/*
- login_shelf "/opt/corp/projects/shelftools/bin/app rsync -Lau $* $shelf:/shelf/valgrind"
- expect eof
- wait
Add Comment
Please, Sign In to add comment