diff options
author | François Pottier <francois.pottier@inria.fr> | 2015-11-06 10:55:08 +0100 |
---|---|---|
committer | François Pottier <francois.pottier@inria.fr> | 2015-11-06 10:55:08 +0100 |
commit | d7a9f71817086b438deced5bf3708dd7a4e8009e (patch) | |
tree | 9d7cb751e69f27f5fe7ff55117d0ac32f2e82793 /cparser | |
parent | e5aeeb137cfd95289ec9388318f65df6f5b08db6 (diff) | |
download | compcert-d7a9f71817086b438deced5bf3708dd7a4e8009e.tar.gz compcert-d7a9f71817086b438deced5bf3708dd7a4e8009e.zip |
Fix in cparser/GNUmakefile.
Remove "&" which was a typo and did not make sense.
Use "command -v" instead of "which" (more efficient).
Use "=" instead of ":=" (more efficient).
Diffstat (limited to 'cparser')
-rw-r--r-- | cparser/GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/GNUmakefile b/cparser/GNUmakefile index d83c49e5..a2646c7b 100644 --- a/cparser/GNUmakefile +++ b/cparser/GNUmakefile @@ -68,7 +68,7 @@ DATABASE := handcrafted.messages # We use (GNU) cut when de-lexing examples sentences. -CUT := $(shell if which gcut >&/dev/null ; then echo gcut ; else echo cut ; fi) +CUT = $(shell if command -v gcut >/dev/null ; then echo gcut ; else echo cut ; fi) # ------------------------------------------------------------------------------ |