From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: making distributions
Date: Wed, 05 Apr 2000 20:22:14 +0100 [thread overview]
Message-ID: <E12cvOk-0000s7-00.2000-04-05-20-23-30@cmailg4.svr.pol.co.uk> (raw)
Given we're now going to be making distributions in the common sourceforge
directories, it's idiotic to try too hard to get mkdisttree.sh to be
optimal anywhere else. This simply comments out the `ln's in favour of
`cp's to get round the permissions problem with linking to other people's
files. It also chmods away the sticky groups on the directories.
--- Util/mkdisttree.sh.old Wed Apr 5 20:03:08 2000
+++ Util/mkdisttree.sh Wed Apr 5 20:03:18 2000
@@ -63,10 +63,10 @@
$sdir_top/mkinstalldirs $disttree/$subdir || exit 1
for f in $deplist `test -z "$globlist" || ( cd $dir_top/$subdir && eval "echo $globlist")`; do
if test -f $dir_top/$subdir/$f; then
- ln $dir_top/$subdir/$f $disttree/$subdir/$f || \
+# ln $dir_top/$subdir/$f $disttree/$subdir/$f || \
cp -p $dir_top/$subdir/$f $disttree/$subdir/$f || exit 1
elif test -f $sdir_top/$subdir/$f; then
- ln $sdir_top/$subdir/$f $disttree/$subdir/$f || \
+# ln $sdir_top/$subdir/$f $disttree/$subdir/$f || \
cp -p $sdir_top/$subdir/$f $disttree/$subdir/$f || exit 1
else
echo >&2 "$0: can't find file $subdir/$f"
@@ -84,4 +84,4 @@
exit $status
fi
-exec chmod -R a+rX,u+w,go-w $disttree
+exec chmod -R a+rX,u+w,g-s,go-w $disttree
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@CambridgeSiliconRadio.com
Web: http://www.pwstephenson.fsnet.co.uk
reply other threads:[~2000-04-05 19:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E12cvOk-0000s7-00.2000-04-05-20-23-30@cmailg4.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--cc=zsh-workers@sunsite.auc.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).