Commit 1bfd7928 authored by Mike Hibler's avatar Mike Hibler

Awful hack to deal with a relative path to source directory.

parent f2066ed0
......@@ -49,9 +49,20 @@ if [ ! -d $dir/nfsdump2 ]; then
echo "ERROR: nfsdump2-install: patch failed"
exit 1
}
#
# XXX link in the local additions
# Note hack to deal with relative paths...argh!
#
pre=""
case $srcdir in
/*)
;;
*)
pre="../"
;;
esac
for f in `ls $srcdir/files/*`; do
ln -sf $f nfsdump2/
ln -sf $pre$f nfsdump2/
done
rm -f nfsdump2/*.orig
fi
......
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