From UGP-Wiki
[edit] Purpose
- The following is the code for the deployappForm script.
- This script is used to copy appForm application files from temp_dir into appform_dir defined in UCLAGridPortal/Portal/config/ugp.properties.
- This script should be run from the appForm temp_dir and will copy all files located in that directory to appform_dir.
#!/bin/bash
appform_dir=`grep appform.dir ~/UCLAGridPortal/Portal/config/ugp.properties`
appform_dir=${appform_dir##appform.dir=}
echo "Copying the following files:"
ls
echo
echo "to the appForm directory:
$appform_dir"
cp ./* $appform_dir;