Skip to content
Snippets Groups Projects
Commit 39c10642 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Process only .lang files.

parent 33d2e867
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ fi
# To detect
if [ "x$1" = "xlist" ]
then
for file in `find . -type f`
for file in `find . -type f -name *.lang`
do
if [ `sort "$file" | uniq -d | wc -l` -gt 0 ]
then
......@@ -27,7 +27,7 @@ fi
# To fix
if [ "x$1" = "xfix" ]
then
for file in `find . -type f`
for file in `find . -type f -name *.lang`
do
awk -i inplace ' !x[$0]++' "$file"
done;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment