pkgs.nomads-cloud: put tmpfiles into tmpdir
This commit is contained in:
parent
9fc5849786
commit
6ad567a18e
@ -1,10 +1,10 @@
|
|||||||
{ writers, coreutils, grib2json, curl, jq, findutils, imagemagick }:
|
{ writers, coreutils, grib2json, curl, jq, findutils, imagemagick }:
|
||||||
writers.writeDashBin "nomads-cloud" ''
|
writers.writeDashBin "nomads-cloud" ''
|
||||||
prefix=$(mktemp -d)
|
prefix=$(mktemp -d)
|
||||||
grib_path=$prefix.grib
|
grib_path=$prefix/clouds.grib
|
||||||
json_path=$prefix.json
|
json_path=$prefix/clouds.json
|
||||||
pgm_path=$prefix.pgm
|
pgm_path=$prefix/clouds.pgm
|
||||||
png_path="$1"
|
png_path=$1
|
||||||
|
|
||||||
mkdir -p "$prefix"
|
mkdir -p "$prefix"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user