diff options
author | Marcos H. Woehrmann <marcos.woehrmann@artifex.com> | 2015-07-19 22:51:01 -0700 |
---|---|---|
committer | Marcos H. Woehrmann <marcos.woehrmann@artifex.com> | 2015-07-19 22:51:01 -0700 |
commit | 7fd9e0be26e67c36f87733bc89ea07dc26d9f839 (patch) | |
tree | 915f6a857bcc40a9b078e2c577b4c22fccf05584 | |
parent | f374cec0a68ad63707f398967f1a9fb38163fdae (diff) | |
download | ghostpdl-7fd9e0be26e67c36f87733bc89ea07dc26d9f839.tar.gz |
Modify clusterpush.pl to handle build_consolidation directory structure.
-rwxr-xr-x | gs/toolbin/localcluster/clusterpush.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gs/toolbin/localcluster/clusterpush.pl b/gs/toolbin/localcluster/clusterpush.pl index 2b3f9a054..5c6b28ab5 100755 --- a/gs/toolbin/localcluster/clusterpush.pl +++ b/gs/toolbin/localcluster/clusterpush.pl @@ -137,7 +137,12 @@ print "$user $directory $product\n" if ($verbose); if ($directory eq 'gs') { - $directory='ghostpdl/gs'; + if (-e 'gpdl') { + print "new directory structure\n"; + $directory='ghostpdl'; + } else { + $directory='ghostpdl/gs'; + } } @@ -184,6 +189,8 @@ my $cmd="rsync -avxcz ". " .". " $hostpath"; +#print "$cmd\n"; exit; + if ($product ne "abort" ) { #&& $product ne "bmpcmp") { print STDERR "syncing\n"; print "$cmd\n" if ($verbose); |