(slurp): Remove any occurrences of $bt from the generated gnulib.mk

This commit is contained in:
Sergey Poznyakoff
2007-03-30 08:49:56 +00:00
parent 8ca4064a8c
commit bb6b92e37d

View File

@@ -478,7 +478,7 @@ slurp() {
done
if test $file = Makefile.am; then
copied=$copied${sep}gnulib.mk; sep=$nl
remove_intl='/^[^#].*\/intl/s/^/#/'
remove_intl='/^[^#].*\/intl/s/^/#/;'"s,/$bt,,g"
sed "$remove_intl" $1/$dir/$file | cmp -s - $dir/gnulib.mk || {
echo "$0: Copying $1/$dir/$file to $dir/gnulib.mk ..." &&
rm -f $dir/gnulib.mk &&