mirror of https://github.com/vitalif/e2fsprogs
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>bitmap-optimize
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