scripts: Fix handling of spaces

Change-Id: I8972fc656dadee54467cc710ff2f832f729a2ce8
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2011-10-19 08:33:33 +00:00
parent bbe4cc040b
commit d34dd1410e
+1 -1
View File
@@ -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!"