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:
parent
b924ba5c29
commit
384320ffad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue