Fix: Removed duplicate entrie into language files

Renamed tool so all script to run before release start with "fix".
This commit is contained in:
Laurent Destailleur
2014-11-30 14:51:57 +01:00
parent e2c606f416
commit d39dbe66c8
12 changed files with 44 additions and 42 deletions

26
dev/detectnotabfiles.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
#------------------------------------------------------
# Detect files that does not contains any tab inside
#
# Laurent Destailleur - eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: fixnotabfiles.sh [list|fix]
#------------------------------------------------------
# Syntax
if [ "x$1" != "xlist" -a "x$1" != "xfix" ]
then
echo "Usage: fixnotabfiles.sh [list|fix]"
fi
# To detec
if [ "x$1" = "xlist" ]
then
find build \( -iname "*.sh" -o -iname "*.spec" \) -exec grep -l -P '\t' {} \;
fi
# To convert
if [ "x$1" = "xfix" ]
then
echo Feature not implemented. Please fix files manually.
fi