#! /usr/bin/expect -f # # $Id$ # # Run import-pba-rpm by answering passphrases on the tty # spawn /usr/share/pba-rpm/sh/import-pba-rpm.sh [lrange $argv 0 0] expect { "Enter pass phrase:" { send "\r"; exp_continue } eof { exit } }