From: Peter Stephenson <pws@csr.com>
To: Francisco Borges <f.borges@rug.nl>,
zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: installing zsh questions
Date: Mon, 13 Mar 2006 19:10:39 +0000 [thread overview]
Message-ID: <EXCHANGE03bpH71yEXU00015a4e@exchange03.csr.com> (raw)
In-Reply-To: <20060313181552.GA9806@let.rug.nl>
Francisco wrote:
> 2. There are executable scripts in Functions/Misc, however 'make
> install' is installing them as non-executable files.
This should fix that particular problem, although some of the functions
in the archive that are also executable shouldn't be. The paths for
things that run as scripts don't get fixed up, either, so this doesn't
necessarily make the rest run as executables anyway. If we were going
to do it properly we would run sed on the #! line at the top of those
that run under zsh (there are some set to use /bin/sh).
Index: Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Makefile.in,v
retrieving revision 1.14
diff -u -r1.14 Makefile.in
--- Makefile.in 20 Jul 2005 18:08:47 -0000 1.14
+++ Makefile.in 13 Mar 2006 19:05:39 -0000
@@ -87,6 +87,7 @@
scriptdir="$(scriptdir)" \
FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \
INSTALL_DATA="$(INSTALL_DATA)" \
+ INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \
$(SHELL) $(sdir_top)/Config/installfns.sh || exit 1; \
fi; \
Index: Config/installfns.sh
===================================================================
RCS file: /cvsroot/zsh/zsh/Config/installfns.sh,v
retrieving revision 1.12
diff -u -r1.12 installfns.sh
--- Config/installfns.sh 24 Jul 2005 03:15:26 -0000 1.12
+++ Config/installfns.sh 13 Mar 2006 19:05:39 -0000
@@ -45,6 +45,10 @@
esac
fi
test -d $instdir || /bin/sh $sdir_top/mkinstalldirs $instdir || exit 1
- $INSTALL_DATA $sdir_top/$file $instdir || exit 1
+ if test -x $sdir_top/$file; then
+ $INSTALL_PROGRAM $sdir_top/$file $instdir || exit 1
+ else
+ $INSTALL_DATA $sdir_top/$file $instdir || exit 1
+ fi
fi
done
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
parent reply other threads:[~2006-03-13 19:12 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20060313181552.GA9806@let.rug.nl>]
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=EXCHANGE03bpH71yEXU00015a4e@exchange03.csr.com \
--to=pws@csr.com \
--cc=f.borges@rug.nl \
--cc=zsh-workers@sunsite.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).