mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
27 lines
649 B
Bash
Executable File
27 lines
649 B
Bash
Executable File
#!/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
|