File:  [CSRG BSD Unix] / 43BSD / contrib / B / ch_install
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

: 'Check if make install went allright.'

bint="$1"
bdir="$2"
man1dir="$3"
man5dir="$4"
libdir="$5"

errors="no"

if test ! -r $bdir/b
then
	echo "*** Failed to install b in $bdir"
	errors="yes"
fi

for f in bed $bint Bed_help
do
	if test ! -r $libdir/$f
	then
		echo "*** Failed to install $f in $libdir"
		errors="yes"
	fi
done

if test ! -r $man1dir/b.1
then
	echo "*** Failed to install b.1 manual in $man1dir"
	errors="yes"
fi

if test ! -r $man5dir/bterminal.5
then
	echo "*** Failed to install bterminal.5 manual in $man5dir"
	errors="yes"
fi

case $errors in
yes)
	exit 1
	;;
no)
	echo "The B system is installed."
	echo "You can cleanup with 'make clean'."
	exit 0
	;;	
esac

unix.superglobalmegacorp.com

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