ragg2: Use $INCDIR/sflib as SFLIBPATH instead of just $INCDIR

This commit is contained in:
dequis 2015-08-27 01:22:15 -03:00 committed by pancake
parent 3c977fb56a
commit 8d2217db59

View File

@ -30,7 +30,7 @@ fi
# Get path for sflib
[ -z "${SFLIBPATH}" ] && \
SFLIBPATH=$(r2 -hh | grep INCDIR | awk '{print $2}')
SFLIBPATH="$(r2 -hh | grep INCDIR | awk '{print $2}')"/sflib
if [ ! -d "${SFLIBPATH}" ]; then
echo "Cannot find ${SFLIBPATH}"
echo "Define SFLIBPATH env var or fix the r2 installation"