mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] vim: fix xxd install location
Date: Wed, 19 Jan 2022 16:55:44 +0100	[thread overview]
Message-ID: <20220119155544.3364301-1-bst@pengutronix.de> (raw)

Installing xxd to /usr/bin/vim is obviously wrong. In case
PTXCONF_VIM_VIM and PTXCONF_VIM_XXD are enabled, vim is even
overwritten. Fix that by installing xxd to /usr/bin/xxd.

Fixes: c538cff7e ("vim: add install options")
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 rules/vim.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/vim.make b/rules/vim.make
index 6965e2537..a21b92f59 100644
--- a/rules/vim.make
+++ b/rules/vim.make
@@ -118,7 +118,7 @@ ifdef PTXCONF_VIM_VIM
 endif
 
 ifdef PTXCONF_VIM_XXD
-	@$(call install_copy, vim, 0, 0, 0755, $(VIM_DIR)/$(VIM_SUBDIR)/xxd/xxd, /usr/bin/vim)
+	@$(call install_copy, vim, 0, 0, 0755, $(VIM_DIR)/$(VIM_SUBDIR)/xxd/xxd, /usr/bin/xxd)
 endif
 	@$(call install_finish, vim)
 
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2022-01-19 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19 15:55 Bastian Krause [this message]
2022-01-21 14:24 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220119155544.3364301-1-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox