2010-05-06 14:20:54 +05:30
|
|
|
#!/bin/bash
|
2010-05-06 19:47:53 +05:30
|
|
|
|
|
|
|
WORKINGDIR=`dirname $0`
|
2010-05-06 14:20:54 +05:30
|
|
|
INSTALLDIR="/msc"
|
|
|
|
echo "Input path of MARC/MENTAT installation: [$INSTALLDIR]"
|
|
|
|
read INSTALLDIR
|
2010-05-06 18:47:28 +05:30
|
|
|
if [ $INSTALLDIR = ""] ; then
|
|
|
|
INSTALLDIR="/msc"
|
|
|
|
fi
|
2010-05-06 19:47:53 +05:30
|
|
|
cp $WORKINGDIR/Marc_tools/comp_user $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/comp_user_h $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/comp_user_mp $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/run_marc $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/run_h_marc $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/run_mp_marc $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Marc_tools/include_linux64 $INSTALLDIR/marc2010/tools
|
|
|
|
cp $WORKINGDIR/Mentat_bin/edit_window $INSTALLDIR/mentat2010/bin
|
|
|
|
cp $WORKINGDIR/Mentat_bin/submit1 $INSTALLDIR/mentat2010/bin
|
|
|
|
cp $WORKINGDIR/Mentat_bin/submit2 $INSTALLDIR/mentat2010/bin
|
|
|
|
cp $WORKINGDIR/Mentat_bin/submit3 $INSTALLDIR/mentat2010/bin
|
|
|
|
cp $WORKINGDIR/Mentat_menus/job_run.ms $INSTALLDIR/mentat2010/menus
|
2010-05-06 18:47:28 +05:30
|
|
|
$INSTALLDIR/mentat2010/bin/mentat -compile $INSTALLDIR/mentat2010/menus/linux64/main.msb
|
2010-05-06 14:20:54 +05:30
|
|
|
chmod 555 $INSTALLDIR/marc2010/tools/run_*_marc
|
2010-05-06 19:47:53 +05:30
|
|
|
chmod 555 $INSTALLDIR/marc2010/tools/comp_user?*
|