#!/bin/bash

. ./param_bash.ini

csh -fc "source ${APP_HOME}/${SOFT_DIR}${SLOT_NUMBER}/profile/.cshrc; env"  | sed 's/^\([^=]*\)=\(.*\)/export \1="\2"/'  > ./tmp/env.$$
. ./tmp/env.$$ >& /dev/null
export > /dev/null

bash $IKIT_DIR/patch_prod.sh ../clamv clamv clamv/bin/clamscan,bin/clamscan:clamv/bin/freshclam,bin/freshclam ${APP_HOME}/${SOFT_DIR}${SLOT_NUMBER}/product
