diff options
-rwxr-xr-x | makecolumns.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/makecolumns.sh b/makecolumns.sh index 0f9c5ba..4acbdd8 100755 --- a/makecolumns.sh +++ b/makecolumns.sh | |||
@@ -3,7 +3,7 @@ | |||
3 | export LANG=C | 3 | export LANG=C |
4 | export LC_CTYPE=C | 4 | export LC_CTYPE=C |
5 | export LC_ALL=C | 5 | export LC_ALL=C |
6 | export PATH=${PATH}:`pwd`/../bin/ | 6 | export PATH=${PATH}:`pwd`/bin/ |
7 | 7 | ||
8 | main() { | 8 | main() { |
9 | [ -f /usr/local/bin/el ] && EL=/usr/local/bin/el | 9 | [ -f /usr/local/bin/el ] && EL=/usr/local/bin/el |
@@ -23,10 +23,10 @@ main() { | |||
23 | make binaries | 23 | make binaries |
24 | 24 | ||
25 | printf "Cleaning up old working directory ... " | 25 | printf "Cleaning up old working directory ... " |
26 | rm -rf ../work_`basename "${1#white_}"` | 26 | rm -rf work/`basename "${1#white_}"` |
27 | printf "done.\n" | 27 | printf "done.\n" |
28 | mkdir -p ../work_`basename "${1#white_}"` | 28 | mkdir -p work/`basename "${1#white_}"` |
29 | cd ../work_`basename "${1#white_}"` || exit 1 | 29 | cd work/`basename "${1#white_}"` || exit 1 |
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}" |
@@ -37,7 +37,7 @@ main() { | |||
37 | else | 37 | else |
38 | echo "Not a recognized Telefonbuch folder" | 38 | echo "Not a recognized Telefonbuch folder" |
39 | fi | 39 | fi |
40 | cd .. | 40 | cd ../.. |
41 | } | 41 | } |
42 | 42 | ||
43 | do_decompress_version_2() { | 43 | do_decompress_version_2() { |