diff options
author | Bechir Mghirbi <bechir.mghirbi@grammer.com> | 2019-06-24 10:53:05 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-22 20:19:02 +0000 |
commit | 032f5d7cfc443f391752b2bb0c8dec1e64ffae2f (patch) | |
tree | 9fe5e7286b82692905f3f1a6f2f27ee9fc455149 /scripts/.aglsetup_genconfig.bash | |
parent | 5bccc14d68d67fb0125f3a5afdd7840b989489f4 (diff) |
Append a new empty line to features' local template file when setting up AGL
A missing empty line at the end of a feature's local template
file will lead to a ParseError error.
This patchset will automatically append a new line
at the end of the feature's local template file when
setting up AGL.
Bug-AGL: SPEC-2563
(cherry picked from commit 416600ed6dfd4462a3d8bea770e5fdf5e074ce2f)
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff
Diffstat (limited to 'scripts/.aglsetup_genconfig.bash')
-rwxr-xr-x | scripts/.aglsetup_genconfig.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/.aglsetup_genconfig.bash b/scripts/.aglsetup_genconfig.bash index e95605a65..983fa989a 100755 --- a/scripts/.aglsetup_genconfig.bash +++ b/scripts/.aglsetup_genconfig.bash @@ -213,6 +213,7 @@ function append_fragment() { echo "#" >>$basefile [[ -n "$label" ]] && echo "$label" >>$basefile [[ -f $f ]] && cat $f >>$basefile || true + echo "" >>$basefile echo "#" >>$basefile echo "# }" >>$basefile echo "# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #" >>$basefile |