File:  [CSRG BSD Unix] / 41BSD / cmd / install.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD41
BSD 4.1

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

$cmd $1 $2
if [ -d $2 ]
then	file=$2/$1
else	file=$2
fi
chmod 755 $file
chown root $file

unix.superglobalmegacorp.com

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