Commit 5d65391a authored by Dries Kimpe's avatar Dries Kimpe
Browse files

Fix relative path workaround

parent 85bf2c4b
......@@ -14,10 +14,10 @@ if test -z "${SRCDIR}"; then
fi
# Make sure srcdir is absolute
tmp=$(echo ${SRCDIR} | cut -c1-2)
tmp=$(echo -n ${SRCDIR} | cut -c1-2)
if test "A$tmp" != "A/" ; then
# make srcdir absolute
SRCDIR=$(cd $tmp && pwd)
SRCDIR=$(cd "${SRCDIR}" && pwd)
fi
if ! test -r "${SRCDIR}/iofsl.pc.in" ; 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