Skip to content

Commit

Permalink
Makefile: fix make fail on first time
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhong Yin <yin-jianhong@163.com>
  • Loading branch information
tcler committed Dec 7, 2023
1 parent 92a3db5 commit b69569a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ i in ins inst install: _install_macos_kvm_utils
$(SUDO) cp -af kiss-netns $(_bin)/netns
@test -d $(_oldconfdir) && $(SUDO) mv $(_oldconfdir) $(_confdir) || true
$(SUDO) mkdir -p $(_confdir) $(_libdir) $(_varlibdir)
$(SUDO) chown root:libvirt -R $(_varlibdir) && $(SUDO) chmod g+ws $(_varlibdir)
@-if getent group libvirt &>/dev/null; then \
$(SUDO) chown root:libvirt -R $(_varlibdir) && $(SUDO) chmod g+ws $(_varlibdir); fi
@$(SUDO) ln -s $(_confdir) $(_oldconfdir)
$(SUDO) cp -af distro-db.bash $(_confdir)/.
$(SUDO) cp -af lib/* $(_libdir)/.
Expand Down

0 comments on commit b69569a

Please sign in to comment.