makeself: fix makeself-header.sh not found
This commit is contained in:
parent
098c4adfe7
commit
9575004f27
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'makeself'
|
# Template file for 'makeself'
|
||||||
pkgname=makeself
|
pkgname=makeself
|
||||||
version=2.4.0
|
version=2.4.0
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
makedepends="tar gzip bzip2"
|
makedepends="tar gzip bzip2"
|
||||||
|
@ -23,6 +23,9 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${wrksrc}/${pkgname}-${version}
|
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
|
vmkdir usr/share/man/man1
|
||||||
for f in makeself makeself-header; do
|
for f in makeself makeself-header; do
|
||||||
vbin ${f}.sh ${f}
|
vbin ${f}.sh ${f}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue