File = updconfig GROUP: product = ANY flavor = ANY qualifiers = ANY COMMON: UPS_THIS_DB = "${UPD_USERCODE_DB}" UPS_PROD_DIR = "${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}" UNWIND_PROD_DIR = "${PROD_DIR_PREFIX}/${UPS_PROD_DIR}" UPS_UPS_DIR = "ups" UNWIND_UPS_DIR = "${UNWIND_PROD_DIR}.${UPS_UPS_DIR}" UPS_TABLE_FILE = "${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.table" UNWIND_TABLE_DIR = "${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}" UPS_TABLE_DIR = "${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}" UPS_ARCHIVE_FILE = "file://localhost/${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.tar" UNWIND_ARCHIVE_FILE = "${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.tar" Action = predeclare Execute("cd ${UNWIND_PROD_DIR}; tar cf ${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.tar .; gzip -9 ${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.tar; rm -rf .[a-zA-Z]* [^R]*",NO_UPS_ENV) Action = postdeclare Execute("${UPD_USERCODE_DB}/.updfiles/fix_archive ${UPS_PROD_DIR} ftp://localhost/${PROD_DIR_PREFIX}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}/${UPS_PROD_NAME}_${UPS_PROD_VERSION}_${UPS_PROD_FLAVOR}${UPS_PROD_QUALIFIERS}.tar.gz ${UPS_THIS_DB}/${UPS_PROD_NAME}/${UPS_PROD_VERSION}.version",NO_UPS_ENV); END: