diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-11-15 09:14:00 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-11-15 09:14:00 +0100 |
commit | c837cc79a79484006733f5c1beec671724c9a32e (patch) | |
tree | 070bfd82330c353c8fe2c86c925658e58f314717 | |
parent | 4ed3369c8188d4beafc33cee4185f971a81fd8f5 (diff) | |
download | bin-c837cc79a79484006733f5c1beec671724c9a32e.zip bin-c837cc79a79484006733f5c1beec671724c9a32e.tar.gz |
easy_e17.sh: fix missing $
-rwxr-xr-x | easy_e17.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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!" |