summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-01-08 08:55:11 +0200
committerVaadin Code Review <review@vaadin.com>2015-04-17 12:01:33 +0000
commit8dc0b72bbb41d4c00b8d0e3988eee76cb1059ddf (patch)
tree7c0efd7bb78bc033c7f8425dc8d21256497177e4 /scripts
parent0636e2d177a933dae13e50eb1b1f4609855f735e (diff)
downloadvaadin-framework-8dc0b72bbb41d4c00b8d0e3988eee76cb1059ddf.tar.gz
vaadin-framework-8dc0b72bbb41d4c00b8d0e3988eee76cb1059ddf.zip
Properly scan for files even though current directory contains java files
Change-Id: I175aebd57cbfcc6960ba2c97d6d0fb5d062f6d97
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