mkcopy revision 7c478bd95313f5f23a4c958a745db2134aa03244
20814N/A# Copyright (c) 2001 by Sun Microsystems, Inc. 20814N/A# example) and outputs a ksh script containing the SCCS and Teamware commands 20814N/A# necessary to copy the required files from a stock perl 5.6.1 build directory 10017N/A# into an ON workspace. Note that the 'sleep 1' commands are because Teamware 10017N/A# can't cope with rapid check-ins of large numbers of files. qq('PSARC 2001/145 Update of Perl shipped with Solaris to version 5.6.1');
@
ARGV ==
3 ||
die("Usage is $0 <mapping file> <perl build dir> <workspace>\n");
die("$ws is not a workspace\n") if (! -d "$ws/Codemgr_wsdata");
# Read in the mapping file print("#!/bin/ksh\n\nunalias rm\nset -ex\nexport CODEMGR_WS=$ws\n\n");
# If it is to go into the s9 distrib directory print("mkdir -p $src/distrib$p\n"); print("( cd $src/distrib$p && " . "sccs create $f -y$comment && sleep 1 )\n"); print("rm -f $src/distrib$p,$f\n\n"); # If it is to go into the s9 arch directory "sccs create $f -y$comment && sleep 1 )\n");