Commit 6b227c43 authored by Leigh B Stoller's avatar Leigh B Stoller

Revert my bogus fix and put in real fix from Mike, with subtitle

"You people and your frickin relative source dir paths."
parent ff6bdca7
......@@ -7,7 +7,7 @@ SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
OBJDIR = @top_builddir@
SUBDIR = $(subst $(TESTBED_SRCDIR)/,,$(SRCDIR))
TGSRCDIR = $(SRCDIR)/tg2.0/src/tg
TGSRCDIR = tg2.0/src/tg
PROGRAMS = trafgen
TARBALL = tg2.0.tar.gz
......
......@@ -42,14 +42,6 @@ if [ ! -d $dir/tg${version}/src ]; then
echo "ERROR: tg-install: tar failed"
exit 1
}
# XXX hack to deal with relative paths...argh!
case $srcdir in
/*)
;;
*)
srcdir="../$srcdir"
;;
esac
patch -p0 < $srcdir/tg.patch || {
echo "ERROR: tg-install: patch failed"
exit 1
......
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