Skip to content
Snippets Groups Projects
Commit af0401cc authored by Markus Blatt's avatar Markus Blatt
Browse files

[duneproject,bugfix] Correctly escape variable in file creation.

A variable was not correctly escaped during creation of the file
cmake/modules/Makefile.am causing the error message:
"duneproject: line 914: datadir: command not found."

This patch now correctly escapes it.
parent 3afb1834
No related branches found
No related tags found
No related merge requests found
......@@ -913,7 +913,7 @@ macroname="$macroname""Macros.cmake"
echo "- $PROJECT/cmake/modules/Makefile.am"
cat> "$PROJECT/cmake/modules/Makefile.am" <<EOF
MODULES = $macroname
modulesdir = $(datadir)/dune/cmake/modules
modulesdir = \$(datadir)/dune/cmake/modules
dist_modules_DATA = \${MODULES}
include \$(top_srcdir)/am/global-rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment