version 1.87, 2021/04/23 18:39:30
|
version 1.88, 2021/07/06 22:35:06
|
|
|
# The system configuration for configure script | # The system configuration for configure script |
set PERLBIN = "" | set PERLBIN = "" |
set PYBIN = "python3" | set PYBIN = "python3" |
set DRMSEXPORT_WEBAPP_DIR = "proj/export/webapps/drmsexport" |
set DRMS_PARAMETERS_PACKAGE = "base/libs/py/drms_parameters" |
set PY_LIBS_DIR = "base/libs/py" | set PY_LIBS_DIR = "base/libs/py" |
| |
if ($PERLBIN == "") then | if ($PERLBIN == "") then |
|
|
exit 1 | exit 1 |
endif | endif |
| |
# copy drmsparams.py and securedrms.py into drmsexport web app project directory |
# copy drmsparams.py into the drms_parameters package |
if (-e ${LOCALIZATIONDIR}/drmsparams.py && -e ${PY_LIBS_DIR}/securedrms.py && -e ${DRMSEXPORT_WEBAPP_DIR}) then |
if (-e ${LOCALIZATIONDIR}/drmsparams.py && -e ${DRMS_PARAMETERS_PACKAGE}) then |
echo "copying drmsparams.py and securedrms.py to drmsexport package scaffolding" |
echo "copying drmsparams.py to drms_parameters package directory" |
cp ${LOCALIZATIONDIR}/drmsparams.py ${DRMSEXPORT_WEBAPP_DIR}/drmsparams.py |
cp ${LOCALIZATIONDIR}/drmsparams.py ${DRMS_PARAMETERS_PACKAGE}/parameters.py |
cp ${PY_LIBS_DIR}/securedrms.py ${DRMSEXPORT_WEBAPP_DIR}/securedrms.py |
|
endif | endif |
endif # End reset localization | endif # End reset localization |
| |