Commit 23d2da68 authored by Niels Möller's avatar Niels Möller
Browse files

* src/lsh-authorize: Use the construction ": ${var:=default}".

Rev: src/lsh-authorize:1.11
parent ae4b42fd
......@@ -40,9 +40,7 @@ create_dir () {
create_dir $HOME/.lsh 0700
create_dir $HOME/.lsh/authorized_keys_sha1 0700
if [ -z "$SEXP_CONV" ] ; then
SEXP_CONV=sexp-conv
fi
: ${SEXP_CONV:=sexp-conv}
if type "$SEXP_CONV" >/dev/null 2>&1 ; then : ; else
echo "Can't find the sexp-conv program"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment