summaryrefslogtreecommitdiff
path: root/src/options
diff options
context:
space:
mode:
Diffstat (limited to 'src/options')
-rwxr-xr-xsrc/options/mkoptions1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options/mkoptions b/src/options/mkoptions
index d856c7293..2ff857a2f 100755
--- a/src/options/mkoptions
+++ b/src/options/mkoptions
@@ -1346,6 +1346,7 @@ function output_module {
nl -ba -s' ' "$template" | grep '^ *[0-9][0-9]* # *line' |
awk '{OFS="";if($1+1!=$3) print "'"$template"':",$1,": warning: incorrect annotation \"#line ",$3,"\" (it should be \"#line ",($1+1),"\")"}' >&2
+ mkdir -p "`dirname "$output"`"
cp "$template" "$output.working"
echo -n > "$output.sed"
for var in \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback