Fix build breakage.

Fixes the following error:

rm: cannot remove `/home/chrome-bot/trunk/src/build/x86/local_packages/linux-image-*.deb': No such file or directory

Review URL: http://chromereview.prom.corp.google.com/1186034

git-svn-id: svn://chrome-svn/chromeos/trunk@215 06c00378-0e64-4dae-be16-12b19f9950a1
This commit is contained in:
msb@google.com 2009-11-12 19:11:00 +00:00
parent 64b6dc8db1
commit 5c1c3b836d

View File

@ -172,7 +172,7 @@ MAKEFLAGS="CONCURRENCY_LEVEL=$CONCURRENCY_LEVEL" \
# make-kpkg dumps the newly created package in the parent directory
if [ -e "../${PACKAGE}" ]
then
rm "${FLAGS_output_root}"/linux-image-*.deb
rm -f "${FLAGS_output_root}"/linux-image-*.deb
mv "../${PACKAGE}" "${FLAGS_output_root}"
echo "Kernel build successful, check ${FLAGS_output_root}/${PACKAGE}"
else