summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/updateSinceTags.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/updateSinceTags.sh b/scripts/updateSinceTags.sh
index f07ba7fb7e..a4e60cab2e 100755
--- a/scripts/updateSinceTags.sh
+++ b/scripts/updateSinceTags.sh
@@ -11,7 +11,7 @@ fi
scriptdir=`dirname $0`
basedir=$scriptdir"/.."
-sincefiles=`find $basedir -name *.java|xargs egrep -Hi "(@since$|@since $)"|grep -v "./work/"|grep -v "./uitest/"|grep -v "/tests/"|cut -d: -f 1|sort|uniq`
+sincefiles=`find $basedir -name "*.java"|xargs egrep -Hi "(@since$|@since $)"|grep -v "./work/"|grep -v "./uitest/"|grep -v "/tests/"|cut -d: -f 1|sort|uniq`
# Stupid feature detection using an invalid parameter.
# Mac requires a parameter for the -i option (creates a backup file with that suffix)
@@ -25,6 +25,7 @@ else
fi
for f in $sincefiles
do
+ echo "Fixing $f..."
$sedCmd "s/@since\$/@since $version/g" $f
$sedCmd "s/@since \$/@since $version/g" $f
done