Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
fix: don't try to set PWD dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Aug 11, 2024
1 parent 802765e commit c89f8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/lib/std.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c89f8e2

Please sign in to comment.