summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makecolumns.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/makecolumns.sh b/src/makecolumns.sh
index 1faa876..e250ec9 100644
--- a/src/makecolumns.sh
+++ b/src/makecolumns.sh
@@ -1,15 +1,29 @@
1#!/bin/sh 1#!/bin/sh
2 2
3EL=`dirname $0`/../bin/el 3export LANG=C
4export LC_CTYPE=C
5export LC_ALL=C
6
7[ -f /usr/local/bin/el ] && EL=/usr/local/bin/el
8[ -f `dirname $0`/../bin/el ] && EL=`dirname $0`/../bin/el
9
10if [ -z "${EL}" ]; then
11 echo "el not found. Get it at 'cvs -d :pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co el'"
12 exit 1
13fi
14
4HO=`dirname $0`/../bin/hexout 15HO=`dirname $0`/../bin/hexout
5 16
6if [ $# -ne 2 ]; then 17if [ $# -ne 1 ]; then
7 echo "Syntax: $0 [phonebookdirectory]" 18 echo "Syntax: $0 [phonebookdirectory]"
8 exit 1 19 exit 1
9fi 20fi
10 21
11make -f Makefile all 22make -f Makefile all
12 23
24mkdir ../work
25cd ../work
26
13../bin/decompress $1/streets.tl 27../bin/decompress $1/streets.tl
14 28
15cat file_* > streets 29cat file_* > streets