#!/bin/bash

# Complete AMDA Installation 
# if argv[1] is set - update SPASE Registry as well

	CURRDIR=`pwd`
	UPDATEDIR=$(dirname "$0")
	
	cd $UPDATEDIR
	
	if [ $# -eq 0 ]
		then
			./updateAmda -i -a -r
		else 
			./updateAmda -i -a -r -s
	fi
	
	cd $CURRDIR