Skip to content

Commit

Permalink
Merge pull request #4496 from k0sproject/backport-4487-to-release-1.30
Browse files Browse the repository at this point in the history
[Backport release-1.30] Let temporary untar dirs start with a dot
  • Loading branch information
twz123 authored Jun 12, 2024
2 parents 9ce8e0b + 671331c commit f97947b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedded-bins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $(bindir)/kubelet.exe $(bindir)/kube-proxy.exe: .container.kubernetes.windows
$(bindir)/containerd.exe $(bindir)/containerd-shim-runhcs-v1.exe: .container.containerd.windows

$(addprefix $(bindir)/, $(bins)): | $(bindir)
tardir=$$(mktemp -d -- '$(notdir $@).XXXXXX.tmp') \
tardir=$$(mktemp -d -- '.$(notdir $@).XXXXXX.tmp') \
&& trap "rm -rf -- $$tardir" INT EXIT \
&& docker export "$$(cat $<)" \
| tar -C "$$tardir" -x bin/$(notdir $@) \
Expand Down

0 comments on commit f97947b

Please sign in to comment.