diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-10-19 08:33:33 +0000 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-10-19 11:31:11 +0200 |
commit | d34dd1410e26664456b52749d9f56b20614f1348 (patch) | |
tree | bb14dafac03aef97dd54df3deba421a0d6904488 /scripts | |
parent | bbe4cc040ba7a2c2db60c56ea21644e554a360fd (diff) | |
download | qt-creator-d34dd1410e26664456b52749d9f56b20614f1348.tar.gz |
scripts: Fix handling of spaces
Change-Id: I8972fc656dadee54467cc710ff2f832f729a2ce8
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/hasCopyright.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/hasCopyright.sh b/scripts/hasCopyright.sh index a16c2f18ad..d9a96e26ad 100755 --- a/scripts/hasCopyright.sh +++ b/scripts/hasCopyright.sh @@ -7,7 +7,7 @@ # Sample usage: # find . -type f -name \*.cpp -o -name \*.h | xargs ~/bin/hasCopyright.sh -for i in $@ ; do +for i in "$@" ; do if test -f "$i" && test -s "$i" ; then if head -n 35 "$1" | grep "qt-info@nokia.com" > /dev/null 2>&1 ; then echo "$i: OLD EMAIL IN USE!" |