diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-10-25 20:34:45 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-10-25 20:34:45 -0400 |
commit | 638adb6373f1491efec258934b21eccff43a4712 (patch) | |
tree | 31bbc0c2a8091a5bba8c86629684b5c80d14ffc7 /config_host.mk.source | |
parent | 42adaa004ce767abddc0a8260b81884c0bbb0d0f (diff) |
fix sourcing config_host.mk
Change-Id: I0ef147e1a86a7a88359c30c458e69cc5ac35741c
Diffstat (limited to 'config_host.mk.source')
-rw-r--r-- | config_host.mk.source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config_host.mk.source b/config_host.mk.source index 89f5f4b8109e..efd014dbb333 100644 --- a/config_host.mk.source +++ b/config_host.mk.source @@ -5,7 +5,7 @@ # source ./config_host.mk.source temp_conf=`mktemp config_host.mk.XXXXXX` -sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' \ - -e 's/^\s*export\s\+\([A-Z0-9_]*\)?=\(.*\)$/export \1="${\1:-\2}"/' config_host.mk >$temp_conf +sed -n -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/p' \ + -e 's/^\s*export\s\+\([A-Z0-9_]*\)?=\(.*\)$/export \1="${\1:-\2}"/p' config_host.mk >$temp_conf source ./$temp_conf rm $temp_conf |