aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-10-19 08:33:33 +0000
committerTobias Hunger <tobias.hunger@nokia.com>2011-10-19 11:31:11 +0200
commitd34dd1410e26664456b52749d9f56b20614f1348 (patch)
treebb14dafac03aef97dd54df3deba421a0d6904488 /scripts
parentbbe4cc040ba7a2c2db60c56ea21644e554a360fd (diff)
scripts: Fix handling of spaces
Change-Id: I8972fc656dadee54467cc710ff2f832f729a2ce8 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/hasCopyright.sh2
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!"