summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUser Erdgeist <erdgeist@avon.ccc.de>2014-02-25 04:36:30 +0100
committerUser Erdgeist <erdgeist@avon.ccc.de>2014-02-25 04:36:30 +0100
commitc82c2fe58c107099f83208a4878c0c1feaacc68a (patch)
tree49524c2f63bbf92639592fb4d9e4fa06486f549b
parent0acfd93d7d7f277618cfa9af34f7587878f51064 (diff)
Allow for pattern matching
-rwxr-xr-xmakecolumns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makecolumns.sh b/makecolumns.sh
index 2389920..38c916e 100755
--- a/makecolumns.sh
+++ b/makecolumns.sh
@@ -30,7 +30,7 @@ main() {
30 30
31 if [ -f "$1/phonebook.db" ]; then 31 if [ -f "$1/phonebook.db" ]; then
32 handle_format_version_3 "${1}" 32 handle_format_version_3 "${1}"
33 elif [ -f "${1}/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt]" ]; then 33 elif [ -f ${1}/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt] ]; then
34 handle_format_version_2 "${1}" 34 handle_format_version_2 "${1}"
35 elif [ -n "`find "${1}" -name dpr00000.005 -ls -quit`" ]; then 35 elif [ -n "`find "${1}" -name dpr00000.005 -ls -quit`" ]; then
36 handle_format_version_1 "${1}" 36 handle_format_version_1 "${1}"