Use single quotes for filename
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
3c4226cb8c
commit
43a199bdca
@ -20,7 +20,7 @@ php_code=""
|
||||
for file in `find js -name '*.js'` ; do
|
||||
lc=`wc -l $file | sed 's/\([0-9]*\).*/\1/'`
|
||||
file=${file:3}
|
||||
entry="\$LINE_COUNT[\"$file\"] = $lc;"
|
||||
entry="\$LINE_COUNT['$file'] = $lc;"
|
||||
php_code="$php_code\n$entry"
|
||||
done
|
||||
echo -e $php_code >> js/line_counts.php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user