aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts/update_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'eclipse/scripts/update_version.sh')
-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" *