diff --git a/files/scripts/lib/std.nu b/files/scripts/lib/std.nu index a4f3e82..1fe0891 100644 --- a/files/scripts/lib/std.nu +++ b/files/scripts/lib/std.nu @@ -13,7 +13,7 @@ export def fetch_generic [url: string, suffix: string] { } export def fetch_copr [url: string] { - let copr_name = (PWD=/etc/yum.repos.d mktemp --suffix ".repo") + let copr_name = (mktemp --tmpdir-path "/etc/yum.repos.d/" --suffix ".repo") http get $url | save -f $copr_name return $copr_name }