File:  [Research Unix] / researchv8dc / cmd / install.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

cmd=/bin/mv
case $1 in
	-s )	/usr/bin/strip $2
		shift
		;;
	-c )	cmd=cp
		shift
esac

if [ ! ${2-""} ]
then	echo 'install: no destination specified.'
	exit 1
fi

if [ -d $2 ]
then	file=$2/$1
else	file=$2
fi
rm -f $file
$cmd $1 $file
chmod o-w,g+w $file
if [ "`getuid`" = root ]
then	chgrp bin $file
	chown bin $file
fi

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.