#!/bin/sh

# $Id: installXiteProg,v 1.13 2014/01/20 09:45:50 svein Exp $

if test "${quiet:-0}" -eq 0
then
  echo "Editing xiteProg." 1>&2
fi

cp xiteProg.sh xiteProg.tmpl

awk -f $edXiteProg -F= xite_app_res=$XITE_XAPPLRESDIR \
    xshow_path=$XSHOWPATH xiteProg.tmpl > xiteProg.sh

if test $? -ne 0
then
  echo "ERROR:" 1>&2
  echo "Editing xiteProg failed." 1>&2
  echo "" 1>&2
  $paramMessage 1>&2

  exit 1
fi

exit 0
