From 03a4dad734fe7bfde9a4a4bea99b2c73e03e5b3b Mon Sep 17 00:00:00 2001 From: Jon Kliegman Date: Tue, 7 Sep 2010 11:12:20 -0400 Subject: [PATCH] Whitespace/tab cleanup for cros_workon Change-Id: I17379dc302fcad0f3a7f59771c48d86df320c0d0 BUG=NONE TEST=Manual diff inspection. Ran scripts and confirmed no syntax errors. Review URL: http://codereview.chromium.org/3335004 --- cros_workon | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/cros_workon b/cros_workon index 57835f8d51..9720079a8c 100755 --- a/cros_workon +++ b/cros_workon @@ -152,22 +152,22 @@ regen_manifest_and_sync() { # ensure we don't clobber existing manifest entries if [ -f "${local_manifest}" ]; then - grep -q -i " tags at all." - fi - sed -ne '/^[[:space:]]\+[^[:space:]]/q1' "${local_manifest}" - if [ $? -ne 0 ]; then - die "Your local manifest will be clobbered running cros_workon. You can not have any tags that span multiple lines or are indented." - fi - egrep -q "^[^<]" "${local_manifest}" - if [ $? -ne 1 ]; then - die "Your local manifest will be clobbered running cros_workon. You can not have any tags that span multiple lines" - fi - grep -v " tags at all." + fi + sed -ne '/^[[:space:]]\+[^[:space:]]/q1' "${local_manifest}" + if [ $? -ne 0 ]; then + die "Your local manifest will be clobbered running cros_workon. You can not have any tags that span multiple lines or are indented." + fi + egrep -q "^[^<]" "${local_manifest}" + if [ $? -ne 1 ]; then + die "Your local manifest will be clobbered running cros_workon. You can not have any tags that span multiple lines" + fi + grep -v "