summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Mescoff <samuel@mescoff.fr>2019-04-15 12:28:26 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2020-03-06 14:15:20 -0600
commit4b7f5f3e75841b115caacef5983a9cc681521ec7 (patch)
tree767e5d04e4b2494eb5c8781e56d235b363e865ef /Makefile
parentd16e18ca6c4d81ac142acd529b1acb55b0c96dfc (diff)
Makefile: fix processing of default environment file
Allow the default environment file to contain long lines split into multiples lines. Leading white spaces can be added for readability as well. Signed-off-by: Samuel Mescoff <samuel@mescoff.fr> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55aa90cf17..07539ca596 100644
--- a/Makefile
+++ b/Makefile
@@ -1830,7 +1830,7 @@ define filechk_defaultenv.h
(grep -v '^#' | \
grep -v '^$$' | \
tr '\n' '\0' | \
- sed -e 's/\\\x0/\n/g' | \
+ sed -e 's/\\\x0\s*//g' | \
xxd -i ; echo ", 0x00" ; )
endef