]> git.saurik.com Git - bison.git/commitdiff
(cvs-update): Don't assume that the shell supports $(...), as
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Dec 2002 08:30:59 +0000 (08:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Dec 2002 08:30:59 +0000 (08:30 +0000)
Solaris sh doesn't.

Makefile.maint

index 83efdf30e9cb6121f3715d15c25f96059821f24a..514416f1bb49f593a4ebd5ad6e8e1848da74ffc8 100644 (file)
@@ -355,7 +355,7 @@ wget-update: $(get-targets)
 cvs-update:
        for f in $(cvs_files); do                                     \
          test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \
 cvs-update:
        for f in $(cvs_files); do                                     \
          test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \
-         file=$$(basename $$f);                                      \
+         file=`basename $$f`;                                        \
          echo checking out $$file...;                                \
          $(CVS) -d $(automake_repo) co -p automake/lib/$$file> $$f.t \
            && $(move_if_change) $$f.t $$f;                           \
          echo checking out $$file...;                                \
          $(CVS) -d $(automake_repo) co -p automake/lib/$$file> $$f.t \
            && $(move_if_change) $$f.t $$f;                           \