#!/bin/sh
######################################################################### 
#									# 
#   File: scorpion/include/dist_script 
#				 					# 
#   Copyright (C) 1991 Sundar Varadarajan
#									# 
#   The Scorpion System is free software in the public domain; you can  # 
#   redistribute it and/or modify it as you wish. We ask that you 	# 
#   retain credits referencing the University of Arizona and that you	# 
#   identify any changes you make.					# 
#									# 
#   Report problems to scorpion-project@cs.arizona.edu			# 
#   Direct all inquiries to:	The Scorpion Project			# 
#				Department of Computer Science		# 
#				Gould-Simpson Building			# 
#				University of Arizona			# 
#				Tucson, AZ 85721			# 
#				U.S.A.					# 
#									# 
#   Revision Log:							# 
#	$Log:$ 
#									# 
#   Edit Log:								# 
#									# 
######################################################################### 

x=`/bin/pwd`
cd $incdir
if test $x != `/bin/pwd` 
then
	if test -d C
	then $rm -r C
	fi
	if $haspascal
	then
		if test -d Pascal
		then $rm -r Pascal
	fi
	fi
	mkdir C
	if $haspasacal
	then mkdir Pascal
	fi
	$cp $x/C/* C
	if $haspascal
	then $cp $x/Pascal/* Pascal
	fi
	echo "Ignore cp: ... Is a directory (not copied)."
	$cp $x/* .
	$rm dist_script
fi
cd $x
touch System
