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