Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] makeself: fix makeself-header.sh not found
@ 2019-05-05  7:19 voidlinux-github
  2019-05-07 14:25 ` voidlinux-github
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: voidlinux-github @ 2019-05-05  7:19 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1038 bytes --]

From f0e9ccee0c581abbc6c56aec5b4fd675a0d37944 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..3160fb5f7b3 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}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-05-07 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05  7:19 [PR PATCH] makeself: fix makeself-header.sh not found 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
2019-05-07 15:35 ` voidlinux-github
2019-05-07 15:44 ` voidlinux-github
2019-05-07 16:07 ` [PR PATCH] [Merged]: " voidlinux-github

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).