summaryrefslogtreecommitdiff
path: root/t/distcom2.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/distcom2.sh')
-rw-r--r--t/distcom2.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/t/distcom2.sh b/t/distcom2.sh
index c13a6d711..3eb03762d 100644
--- a/t/distcom2.sh
+++ b/t/distcom2.sh
@@ -51,22 +51,18 @@ for opt in '' --no-force; do
test -f depcomp
for dir in . subdir; do
- # FIXME: the logic of this check and other similar ones in other
- # FIXME: 'distcom*.sh' files should be factored out in a common
- # FIXME: subroutine in 'am-test-lib.sh'...
sed -n -e "
- /^DIST_COMMON =.*\\\\$/ {
+ /^am__DIST_COMMON =.*/ {
+ b body
:loop
- p
n
- t clear
- :clear
+ :body
+ p
s/\\\\$/\\\\/
t loop
s/$/ /
s/[$tab ][$tab ]*/ /g
p
- n
}" $dir/Makefile.in > $dir/dc.txt
done