From 1b6b622d70bd890c5c07289b24b5f8d38ceafd02 Mon Sep 17 00:00:00 2001 From: James Laska Date: Tue, 8 Sep 2015 22:00:27 -0400 Subject: [PATCH] Ignore case to handle multiple prompts Handles the multiple prompts from debuild and reprepro, each with different cases. --- tools/scripts/sign.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/sign.exp b/tools/scripts/sign.exp index 30cbe1d975..79f534b285 100755 --- a/tools/scripts/sign.exp +++ b/tools/scripts/sign.exp @@ -9,7 +9,7 @@ set passphrase $env(PASSPHRASE) puts "# $command" spawn -noecho {*}$command expect { - -exact "Enter passphrase: " { + -exact -nocase "enter passphrase: " { send -- "$passphrase\r" exp_continue }