#!/bin/csh -f

#
# build script for installing Common Music
#

if ($#argv == 1) then
	set lisp_image = $1
else
	echo "buildcm needs a base lisp image file specified"
        exit
endif

if (-e $lisp_image) then
	$lisp_image -qq -batch < build.lisp
else
	echo "$lisp_image does not exist."
endif

echo All done!
