mktmp → mktemp
This commit is contained in:
parent
a2105d8d2d
commit
4cd058710a
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ case "$@" in -h|--help) usage && exit 0;; esac
|
||||||
[ -z "$gpx_directory" ] && usage && exit 1
|
[ -z "$gpx_directory" ] && usage && exit 1
|
||||||
[ -z "$target_database" ] && usage && exit 1
|
[ -z "$target_database" ] && usage && exit 1
|
||||||
|
|
||||||
tmp="$(mktmp -d diogenes.XXXXX -p /tmp)/$(basename $target_database)"
|
tmp="$(mktemp -d diogenes.XXXXX -p /tmp)/$(basename $target_database)"
|
||||||
|
|
||||||
# recursive scan and import
|
# recursive scan and import
|
||||||
while IFS= read -d '' -r file; do
|
while IFS= read -d '' -r file; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue