summaryrefslogtreecommitdiffstats
path: root/easy_e17.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-11-15 09:14:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-11-15 09:14:00 +0100
commitc837cc79a79484006733f5c1beec671724c9a32e (patch)
tree070bfd82330c353c8fe2c86c925658e58f314717 /easy_e17.sh
parent4ed3369c8188d4beafc33cee4185f971a81fd8f5 (diff)
downloadbin-c837cc79a79484006733f5c1beec671724c9a32e.zip
bin-c837cc79a79484006733f5c1beec671724c9a32e.tar.gz
easy_e17.sh: fix missing $
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-xeasy_e17.sh2
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!"