aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-01-27 12:16:41 -0800
committerXavier Ducrohet <xav@android.com>2012-01-27 12:16:41 -0800
commit4f9e5535976856938db771a6e52c957747b14834 (patch)
tree446aafaa043d66bd5de635e971869bc7f12f9e39 /eclipse/scripts
parentcf6d0102593de79ef681c06a84e79f63001d7452 (diff)
downloadsdk-4f9e5535976856938db771a6e52c957747b14834.zip
sdk-4f9e5535976856938db771a6e52c957747b14834.tar.gz
sdk-4f9e5535976856938db771a6e52c957747b14834.tar.bz2
Move the tools/ADT to r17
Change-Id: I4989ce98d4c6a600ca075ee919e5a0e1a40a4497
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-xeclipse/scripts/update_version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclipse/scripts/update_version.sh b/eclipse/scripts/update_version.sh
index c73407a..6e7a7fc 100755
--- a/eclipse/scripts/update_version.sh
+++ b/eclipse/scripts/update_version.sh
@@ -28,10 +28,10 @@ NEW="${NEW//./\.}\.qualifier"
# Now find the same files but this time use sed to replace in-place with
# the new pattern. Old files get backuped with the .old extension.
-grep -rl "$OLD" * | grep -E "\.xml$|\.MF$" | xargs -n 1 sed -i -e "s/$OLD/$NEW/g"
+grep -rl "$OLD" * | grep -E "\.xml$|\.MF$" | xargs -n 1 sed -i "" "s/$OLD/$NEW/g"
# do another grep for older version without the qualifier. We don't
# want to replace those automatically as it could be something else.
# Printing out occurence helps find ones to update manually.
-grep -rl "$REALOLD" *
+grep -r "$REALOLD" *