Commit 35c9c84
committed
Fix Bash syntax
Test -v should be followed by the variable name without $, otherwise the
variable is expanded first.
This bug made the import use the planet_osm_nodes table in the database
but the diff updates use the flatnodes file. As a consequence, diff
updates removed updated ways from the database if their nodes have not
been changed since the first import.1 parent aeb6227 commit 35c9c84
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments