Skip to content
Snippets Groups Projects
Commit 29405741 authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

[duneproject] use ${} for correct variable expansion

Otherwise UNAME_HH was seen by the shell as the name of the variable,
but actually, the variable is called UNAME and _HH should be appended
after expansion of the variable.
parent 8908b951
No related branches found
No related tags found
No related merge requests found
......@@ -781,12 +781,12 @@ EOF
################## dune/$NAME/$NAME.hh #################
echo "- $PROJECT/dune/$NAME/$NAME.hh"
cat> $PROJECT/dune/$NAME/$NAME.hh <<EOF
#ifndef $UNAME_HH
#define $UNAME_HH
#ifndef ${UNAME}_HH
#define ${UNAME}_HH
// add your classes here
#endif // $UNAME_HH
#endif // ${UNAME}_HH
EOF
......
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