mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
ragg2: Use $INCDIR/sflib as SFLIBPATH instead of just $INCDIR
This commit is contained in:
parent
3c977fb56a
commit
8d2217db59
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user