Commit 66b3baa9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix HASHERBASEDIR detecting

parent 3ed53bd1
......@@ -12,8 +12,8 @@ set_hasherdir()
fatal "Please install hasher package before use it"
fi
if [ -z "$HASHERBASEDIR" ] ; then
warning "HASHERBASEDIR is not set. I will try with HASHERDIR, but you have to set HASHERBASEDIR in the config file"
if [ -n "$HASHERDIR" ] ; then
warning "Possible HASHERBASEDIR is not set correctly. Please replace HASHERDIR with HASHERBASEDIR in the config file"
HASHERBASEDIR=$HASHERDIR
fi
HASHERDIR=$HASHERBASEDIR$MENVARG
......
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