diff options
-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); |