From 1330edb593ca90b806f59a3d341ab534317e768c Mon Sep 17 00:00:00 2001 From: Huyen Nguyen Date: Fri, 5 Nov 2010 16:15:46 -0700 Subject: [PATCH] Fix bug where square bracket is not removed before appending new rule. Change-Id: I5618b211abd69b4e3774fa6e4009183ef996a8d8 BUG=8815 TEST=run locally Review URL: http://codereview.chromium.org/4498004 --- make_factory_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_factory_package.sh b/make_factory_package.sh index f59aada962..9a44f71dd2 100755 --- a/make_factory_package.sh +++ b/make_factory_package.sh @@ -166,7 +166,7 @@ fi if [ -n "${FLAGS_subfolder}" ] && \ [ -f "${OMAHA_DIR}"/miniomaha.conf"" ] ; then # Remove the ']' from the last line of the file so we can add another config. - sed -i '$d' < ${OMAHA_DIR}/miniomaha.conf + sed -i '$d' ${OMAHA_DIR}/miniomaha.conf else echo -e "config = [" > ${OMAHA_DIR}/miniomaha.conf fi