summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/line_count.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/line_count.sh b/scripts/line_count.sh
index 9da3e7e..e7abdf4 100755
--- a/scripts/line_count.sh
+++ b/scripts/line_count.sh
@@ -1,4 +1,5 @@
#! /usr/bin/env sh
+export LC_ALL="C"
find ./src -type f \
-not -path "*__pycache__*" \
-not -path "./src/fruits/droid/*" \
@@ -7,6 +8,6 @@ find ./src -type f \
-not -path "./src/portal/patches/*" \
-not -path "./src/portal/py/tests/*" \
-not -path "./src/portal/vendor/*" \
- -exec wc -l {} +
+ -exec sloccount {} +
#-exec sed -i 's///g' {} +