]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Bug fix when looking for .texi file in $am_reldir
authorTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 06:51:32 +0000 (06:51 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 06:51:32 +0000 (06:51 +0000)
automake.in

index 800b41f1bbe2dc8fba0e1454c1bc9e2455239ced..f071dd3767578e2a34554a4ba9f38fd0d5a4fa06 100755 (executable)
@@ -317,7 +317,7 @@ p
        am_deps="$TEXINFOS"
        # Only do version.texi if requested.  FIXME error if .texi
        # file does not exist?
-       if grep $am_reldir/version.texi $TEXINFOS > /dev/null 2>&1; then
+       if grep version.texi $am_reldir/$TEXINFOS > /dev/null 2>&1; then
           am_deps="version.texi $am_deps"
           am_dist_common="version.texi $am_dist_common"
        fi