zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: making distributions
@ 2000-04-05 19:22 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2000-04-05 19:22 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-05 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-05 19:22 PATCH: making distributions Peter Stephenson

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