From c837cc79a79484006733f5c1beec671724c9a32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 15 Nov 2011 09:14:00 +0100 Subject: easy_e17.sh: fix missing $ --- easy_e17.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_e17.sh b/easy_e17.sh index b0570e0..eafcec1 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -563,7 +563,7 @@ function check_build_user () rm -f "$tmp_path/sudo.test" fi # check cmdline provided password - if [ -n "sudopwd" ]; then + if [ -n "$sudopwd" ]; then echo "$sudopwd" | sudo -S touch "$tmp_path/sudo.test" &>/dev/null if [ ! -e "$tmp_path/sudo.test" ]; then error "cmdline provided sudo password failed!" -- cgit v1.1-2-g2b99