aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-02-15 10:24:32 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-02-15 10:24:32 +0100
commita87fc2f9c400919cf37e4e74eb79ce65739eaa9c (patch)
treedc2fd442fcdafc3a34fc95f3d26a613f1e48d3aa /tools
parentfd5372f0249a2ea949606ca35cf195bc37ad8a96 (diff)
parent00dfe2be53ddc84836e095f0a20a0efdebc87f50 (diff)
Merge PR #6741: coq_makefile: Support "" as the prefix in _CoqProject
Diffstat (limited to 'tools')
-rw-r--r--tools/coq_makefile.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml
index 091869407..1e1862220 100644
--- a/tools/coq_makefile.ml
+++ b/tools/coq_makefile.ml
@@ -124,7 +124,7 @@ let read_whole_file s =
close_in ic;
Buffer.contents b
-let quote s = if String.contains s ' ' then "'" ^ s ^ "'" else s
+let quote s = if String.contains s ' ' || CString.is_empty s then "'" ^ s ^ "'" else s
let generate_makefile oc conf_file local_file args project =
let makefile_template =