From 5c1c3b836d7344403ec729bd466b6ed5ffb06306 Mon Sep 17 00:00:00 2001 From: "msb@google.com" Date: Thu, 12 Nov 2009 19:11:00 +0000 Subject: [PATCH] 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 --- build_kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_kernel.sh b/build_kernel.sh index 7a861de62c..67364ea2ef 100755 --- a/build_kernel.sh +++ b/build_kernel.sh @@ -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