mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-05 01:59:06 +00:00
Warn if temporary directory doesn't begin with /
This commit is contained in:
parent
39285c8102
commit
1eb0537302
@ -2573,6 +2573,9 @@ int main(int argc, char **argv) {
|
||||
|
||||
case 't':
|
||||
tmpdir = optarg;
|
||||
if (tmpdir[0] != '/') {
|
||||
fprintf(stderr, "Warning: temp directory %s doesn't begin with /\n", tmpdir);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'g':
|
||||
|
Loading…
x
Reference in New Issue
Block a user