summaryrefslogtreecommitdiff
path: root/tests/distcom2.test
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2006-01-12 21:11:14 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2006-01-12 21:11:14 +0000
commit46b3563d63fffad5845e5a99d9e31597541ff870 (patch)
treeec34f88c837341f4d45736dce8011e2dbe642ce7 /tests/distcom2.test
parent4f20a552a5148da388364baabb7a3e9924746d43 (diff)
downloadautomake-46b3563d63fffad5845e5a99d9e31597541ff870.tar.gz
* lib/install-sh (dstdir): Don't use semicolons inside { } in
sed scripts, as Posix says it's not portable. * lib/missing (file): Likewise. * lib/am/distdir.am (distcheck): Likewise. * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise * tests/distcom2.test, tests/distcom3.test: Likewise. * tests/distcom4.test, tests/distcom5.test: Likewise. * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
Diffstat (limited to 'tests/distcom2.test')
-rwxr-xr-xtests/distcom2.test12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/distcom2.test b/tests/distcom2.test
index 72c322d2c..87843288a 100755
--- a/tests/distcom2.test
+++ b/tests/distcom2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
@@ -55,7 +55,10 @@ sed -n -e '/^DIST_COMMON =.*\\$/ {
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep compile || exit 1
@@ -64,7 +67,10 @@ sed -n -e '/^DIST_COMMON =.*\\$/ {
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep depcomp || exit 1