build: handle builds with no scan-build output
Change-Id: Ic96422be95c9e4f84b34d05329ca79b4af989342 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
c028633b50
commit
2e1b5532e1
@ -21,7 +21,7 @@ time $scanbuild make $MAKEFLAGS DPDK_DIR=$DPDK_DIR
|
||||
if [ -d $out/scan-build-tmp ]; then
|
||||
scanoutput=$(ls -1 $out/scan-build-tmp/)
|
||||
mv $out/scan-build-tmp/$scanoutput $out/scan-build
|
||||
rmdir $out/scan-build-tmp
|
||||
rm -rf $out/scan-build-tmp
|
||||
chmod -R a+rX $out/scan-build
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user