Skip to content

Commit

Permalink
get-fedora-latest-config: download relatively to current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Apr 20, 2019
1 parent a5a4ae6 commit 5a1a029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-fedora-latest-config
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi
if [ "x$latestrpm" != "x" ] && [ "x$releasever" != "x" ]; then
key="$localdir/keys/RPM-GPG-KEY-fedora-$releasever-primary"

tmpdir=$(mktemp -d)
tmpdir="$(mktemp -d -p "$localdir")"
# download latest kernel rpm
dnf -q download kernel-core --disablerepo=*modular* --releasever="$releasever"
mv "$latestrpm" "$tmpdir/$latestrpm.untrusted"
Expand Down

0 comments on commit 5a1a029

Please sign in to comment.