mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 18:43:53 +08:00
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 <matthias.andree@gmx.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
a6c408b691
commit
f7c9a06c99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user