Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] makeself: fix makeself-header.sh not found
Date: Tue, 07 May 2019 17:35:01 +0200	[thread overview]
Message-ID: <20190507153501.zASmMcgjSoIDEHOvKn-CRT_2v2yjLF8l5srx7KqSb8I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11505@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

There is an updated pull request by innerspacepilot against master on the void-packages repository

https://github.com/innerspacepilot/void-packages makeself
https://github.com/void-linux/void-packages/pull/11505

makeself: fix makeself-header.sh not found
Hello!
Fix for makeself-header.sh not found


A patch file from https://github.com/void-linux/void-packages/pull/11505.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-makeself-11505.patch --]
[-- Type: application/text/x-diff, Size: 1035 bytes --]

From 49305e0f1750f90718305b0520cc144b2d7bf193 Mon Sep 17 00:00:00 2001
From: innerspacepilot <innerspacepilot@gmx.com>
Date: Sun, 5 May 2019 10:15:42 +0300
Subject: [PATCH] makeself: fix makeself-header.sh not found

---
 srcpkgs/makeself/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/makeself/template b/srcpkgs/makeself/template
index eac3c034c43..99494b26321 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,7 +1,7 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=1
+revision=2
 archs=noarch
 create_wrksrc=yes
 makedepends="tar gzip bzip2"
@@ -23,6 +23,9 @@ do_build() {
 do_install() {
 	cd ${wrksrc}/${pkgname}-${version}
 
+	# rename makeself-header.sh to makeself-header inside makeself.sh because it will be renamed later
+	sed -i 's/^HEADER=\`dirname "$0"\`\/makeself-header.sh$/HEADER=\`dirname "$0"\`\/makeself-header/' makeself.sh
+
 	vmkdir usr/share/man/man1
 	for f in makeself makeself-header; do
 		vbin ${f}.sh ${f}

  parent reply	other threads:[~2019-05-07 15:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05  7:19 [PR PATCH] " voidlinux-github
2019-05-07 14:25 ` voidlinux-github
2019-05-07 15:26 ` voidlinux-github
2019-05-07 15:29 ` [PR PATCH] [Updated] " voidlinux-github
2019-05-07 15:29 ` voidlinux-github
2019-05-07 15:35 ` voidlinux-github [this message]
2019-05-07 15:35 ` voidlinux-github
2019-05-07 15:44 ` voidlinux-github
2019-05-07 16:07 ` [PR PATCH] [Merged]: " voidlinux-github

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=20190507153501.zASmMcgjSoIDEHOvKn-CRT_2v2yjLF8l5srx7KqSb8I@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /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;
as well as URLs for NNTP newsgroup(s).