mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
newvers.sh: add newline at EOF in generated vers.c
Previously we omitted the newline, which did not cause a functional issue for the build but resulted in suboptimal output from e.g. `cat vers.c`.
This commit is contained in:
parent
868643e722
commit
8564660237
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ EOF
|
|||
)
|
||||
vers_content_old=$(cat vers.c 2>/dev/null || true)
|
||||
if [ "$vers_content_new" != "$vers_content_old" ]; then
|
||||
printf "%s" "$vers_content_new" > vers.c
|
||||
printf "%s\n" "$vers_content_new" > vers.c
|
||||
fi
|
||||
|
||||
echo $((v + 1)) > version
|
||||
|
|
|
|||
Loading…
Reference in a new issue