#
# Localizing script for the (T)rouble (R)eport (S)ystem
#
#	@(#) Localize 1.2 89/12/19
#

for i in Makefile *.sh
do

	#
	# Attach the "ROOT" to some clean point like /usr/local/lib/trs
	# as this will need to be a publically writable directory that
	# will hold all trouble reports.
	#
	# Attach the "BIN" to some global point like /usr/lbin for all
	# the executables
	#
ed - $i <<'EOF'
g;^ROOT;s;=.*$;=/u/rjs/lib/Trs;
g;^BIN;s;=.*$;=/u/rjs/bin;
w
q
EOF

done

for i in *.sh
do

	#
	# The ":" in the ed script below is the first line of all shell
	# scripts for SYS5.  For ULTRIX, it should be "#!/bin/sh".
	#
ed - $i <<'EOF'
1 s;^.*$;:;
w
q
EOF

done
