#!/bin/bash

# setup for calling "builduser.cmd and buildkernel.cmd" via cygwin's rsh
# since ssh is having trouble. This is a hack, but we don't any other way
# to solve this at the moment.

echo "============================================="
echo "  START - Build casa"
echo "============================================="

/usr/bin/rsh -n -d -l nds_cm localhost 'cd /d c:\cygwin\home\nds_cm\build_win\casa-auth-token-client~1.7\casa-auth-token-client\ && build_config\win64\builduser.cmd'

echo "Status: $?"

echo "============================================="
echo "  END - Build casa"
echo "============================================="