Commit bd5105f3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

do fatal error if HASHERBASEDIR is not set, remove buggy workaround

parent b03954d5
......@@ -40,6 +40,8 @@ COMPANYFTP=etersoft.ru
TARGETFTPBASE="/var/ftp"
LOGDIR="$RPMDIR/log"
HASHERBASEDIR="$HOME/hasher"
# fill it in set_hasher_dir
HASHERDIR=""
HASHER_NOCHECK=nvr,gpg,packager,buildtime
HASHERARG=""
......
......@@ -13,8 +13,7 @@ set_hasherdir()
fi
if [ -n "$HASHERDIR" ] ; then
warning "Possible HASHERBASEDIR is not set correctly. Please replace HASHERDIR with HASHERBASEDIR in the config file"
HASHERBASEDIR=$HASHERDIR
fatal "Possible HASHERBASEDIR is not set correctly. Please replace HASHERDIR with HASHERBASEDIR in the config file"
fi
HASHERDIR=$HASHERBASEDIR$MENVARG
if [ "$DEFAULTARCH" = "x86_64" ] ; then
......
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