summaryrefslogtreecommitdiff
path: root/util/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'util/abuild')
-rwxr-xr-xutil/abuild/abuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 73ec8c322e..98550e15c5 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -660,7 +660,9 @@ if [ "$target" != "" ]; then
build_target $VENDOR $MAINBOARD $CONFIG
test_target $VENDOR $MAINBOARD
remove_target $VENDOR $MAINBOARD
- test "$mode" != "text" && cat $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml >> $REAL_XMLFILE
+ test "$mode" != "text" && \
+ test -f $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml && \
+ cat $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml >> $REAL_XMLFILE
XMLFILE=$REAL_XMLFILE
fi
else