1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

nux.dsl: Fixed mktemp call

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2019-11-28 02:49:26 -08:00
parent b924ba5c29
commit 384320ffad

View file

@ -107,7 +107,7 @@ nux.dsl.plan() {
local dirname=$(dirname "$cached")
mkdir -p "$dirname";
local execution_plan=$(mktemp "$dirname/.nux.dsl.XXXX")
local execution_plan=$(mktemp -p "$dirname" .nux.dsl.XXXXXXXX)
if (nux.dsl.process plan "$language" "$file" > "$execution_plan") ; then
mv -f "$execution_plan" "$cached";
else