#!/bin/sh

KSCOPE=/usr/bin/kscope

if [ `hostname` = windsor.office.etersoft.ru ] ; then
	test -e $KSCOPE && $KSCOPE $@
	exit $?
fi

if ! ssh-add -l ; then
	zenity --title " KScope" --error --text "   ģ    SSH.    ssh-add"
	exit 1
fi
ssh -Y builder $KSCOPE $@
