aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make_device_config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make_device_config.sh b/make_device_config.sh
index 59f267b5ef..8abadfef7c 100644
--- a/make_device_config.sh
+++ b/make_device_config.sh
@@ -18,7 +18,8 @@ process_includes () {
f=$src
while [ -n "$f" ] ; do
- f=`awk '/^include / {print "'$src_dir'/" $2}' $f`
+ f=`awk '/^include / {ORS=" " ; print "'$src_dir'/" $2}' $f`
+ [ $? = 0 ] || exit 1
all_includes="$all_includes $f"
done
process_includes $src > $dest