From 43a199bdcaab7a71d470d33654e8cf23ed50b159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 28 Jul 2016 08:15:04 +0200 Subject: [PATCH] Use single quotes for filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- scripts/line-counts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/line-counts.sh b/scripts/line-counts.sh index 1c991624ee..bcf07620ea 100755 --- a/scripts/line-counts.sh +++ b/scripts/line-counts.sh @@ -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