#!/usr/bin/perl #----------------------------------------------------------------------------------- # Filename: my_filename_goes_here.pl # # This script is executed by the deploy tool as part of the standard # deploy process. This script moves batch SE work flow batch scripts to the correct # locations where <> expect to find them within the local filesystem. # # Date Developer Comment # ---------- ---------------- --------------------------------------------- # 02-06-2019 R. Eaglestone Initial creation #----------------------------------------------------------------------------------- use DEPLOYER; use File::Copy; # Define script-global variables. DEPLOYER::outputDir("/whatever/data/output"); DEPLOYER::executionDir("/whatever/jobs"); DEPLOYER::installDir("/www/apps/install/path/for/my/process/scripts"); DEPLOYER::dirsToDeploy ( "$outputDir/boo" => 0777, "$outputDir/boo/jum" => 0777, "$executionDir/boo" => 0777, "$executionDir/boo/jum" => 0777, ); DEPLOYER::pathsToDeploy ( "MY_LAUNCHER_11023200099.sh" => '/fancy/deploy/path', "fileSanity.pl" => '/fancy/deploy/path', "transferFile.sh" => '/fancy/deploy/path', ); DEPLOYER::filesToDeploy ( "MY_LAUNCHER_11023200099.sh" => 0775, "fileSanity.pl" => 0775, "transferFile.sh" => 0775, ); DEPLOYER::filesToConvert ( "MY_LAUNCHER_11023200099.sh", "fileSanity.pl", "transferFile.sh", ); DEPLOYER::deploy();