From f7c9a06c99223c4a3ff87eb019c2a109fc8a3cea Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 5 Sep 2008 10:25:28 +0200 Subject: [PATCH] Unbreak build if directory renamed from e2fsprogs. gen-tarball currently assumes that the top-level directory is called e2fsprogs, which breaks building the tarball if it's named differently. Since we have already computed the basename, let's use it. Signed-off-by: Matthias Andree Signed-off-by: Theodore Ts'o --- util/gen-tarball.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gen-tarball.in b/util/gen-tarball.in index a1bcaaf4..b82f12cb 100644 --- a/util/gen-tarball.in +++ b/util/gen-tarball.in @@ -43,7 +43,7 @@ mv ../e2fsprogs.spec $top_srcdir/e2fsprogs.spec -print) | sed -e "s/^$base_e2fsprogs/$SRCROOT/" > $exclude sed -e "s;^;$SRCROOT/;" < $srcdir/$list.exclude >> $exclude -(cd $top_srcdir/.. ; rm -f $SRCROOT ; ln -sf e2fsprogs $SRCROOT) +(cd $top_srcdir/.. ; rm -f $SRCROOT ; ln -sf $base_e2fsprogs $SRCROOT) (cd $top_srcdir/.. ; tar -c -h -v -f - -X $exclude $SRCROOT) \ | $GZIP -9 -c > $SRCROOT.tar.gz