OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050e27c
)
Detect missing config includes
author
Paul Brook
<paul@codesourcery.com>
Sat, 27 Nov 2010 00:43:04 +0000
(
00:43
+0000)
committer
Paul Brook
<paul@codesourcery.com>
Sat, 27 Nov 2010 00:58:07 +0000
(
00:58
+0000)
Terminate make_device_config.sh if the awk command fails.
Typically this means a missing file.
Signed-off-by: Paul Brook <paul@codesourcery.com>
make_device_config.sh
patch
|
blob
|
history
diff --git
a/make_device_config.sh
b/make_device_config.sh
index
59f267b
..
8abadfe
100644
(file)
--- 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