aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/GNUmakefile
diff options
context:
space:
mode:
authorFrançois Pottier <francois.pottier@inria.fr>2015-11-06 10:55:08 +0100
committerFrançois Pottier <francois.pottier@inria.fr>2015-11-06 10:55:08 +0100
commitd7a9f71817086b438deced5bf3708dd7a4e8009e (patch)
tree9d7cb751e69f27f5fe7ff55117d0ac32f2e82793 /cparser/GNUmakefile
parente5aeeb137cfd95289ec9388318f65df6f5b08db6 (diff)
downloadcompcert-kvx-d7a9f71817086b438deced5bf3708dd7a4e8009e.tar.gz
compcert-kvx-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/GNUmakefile')
-rw-r--r--cparser/GNUmakefile2
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)
# ------------------------------------------------------------------------------