summaryrefslogtreecommitdiff
path: root/toolbin
diff options
context:
space:
mode:
authorJulian Smith <julian.smith@artifex.com>2021-02-16 15:01:27 +0000
committerJulian Smith <julian.smith@artifex.com>2021-02-18 16:58:06 +0000
commit4e9c31c3b6660d50afbca498ceddf0179ca2540c (patch)
tree4bfc0f92a291257e15cca59c11b28052a11d21ea /toolbin
parent895c5bc12814d4106a106afaddea5dcdd2d0519d (diff)
downloadghostpdl-4e9c31c3b6660d50afbca498ceddf0179ca2540c.tar.gz
toolbin/localcluster/clusterpush.pl: have rsync expand links if product is extractgs.
This allows one to have ghostpdl:extract be a soft link, e.g.: extract -> ../mupdf/thirdparty/extract Also use rsync -i instead of -v if $(verbose) is set so that one can see exactly what files are being transferred etc.
Diffstat (limited to 'toolbin')
-rwxr-xr-xtoolbin/localcluster/clusterpush.pl15
1 files changed, 13 insertions, 2 deletions
diff --git a/toolbin/localcluster/clusterpush.pl b/toolbin/localcluster/clusterpush.pl
index 21c22e02e..a7d9cb57f 100755
--- a/toolbin/localcluster/clusterpush.pl
+++ b/toolbin/localcluster/clusterpush.pl
@@ -212,8 +212,19 @@ if ($msys) {
$hostpath="regression:$dir/$user/$directory";
}
-my $cmd="rsync -avxcz ".
-" --max-size=30000000".
+my $cmd="rsync -axcz";
+
+if ($product eq "extractgs") {
+ $cmd .= "L"; # expand links.
+}
+
+if ($verbose) {
+ $cmd .= "i";
+} else {
+ $cmd .= "v";
+}
+
+$cmd .= " --max-size=30000000".
" --delete --delete-excluded".
" --exclude .svn --exclude .git".
" --exclude _darcs --exclude .bzr --exclude .hg".