From c82c2fe58c107099f83208a4878c0c1feaacc68a Mon Sep 17 00:00:00 2001 From: User Erdgeist Date: Tue, 25 Feb 2014 04:36:30 +0100 Subject: Allow for pattern matching --- makecolumns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makecolumns.sh b/makecolumns.sh index 2389920..38c916e 100755 --- a/makecolumns.sh +++ b/makecolumns.sh @@ -30,7 +30,7 @@ main() { if [ -f "$1/phonebook.db" ]; then handle_format_version_3 "${1}" - elif [ -f "${1}/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt]" ]; then + elif [ -f ${1}/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt] ]; then handle_format_version_2 "${1}" elif [ -n "`find "${1}" -name dpr00000.005 -ls -quit`" ]; then handle_format_version_1 "${1}" -- cgit v1.2.3