e17a685b61034584686ffa679916f6b3373a9c05 hiram Wed Dec 17 10:07:07 2025 -0800 adding --mkpath to the rsync for the contrib directory since it can be multiple levels deep refs #35776 diff --git src/hg/utils/otto/genArk/quickPush.pl src/hg/utils/otto/genArk/quickPush.pl index 61bd7d01fa7..cd1426931b6 100755 --- src/hg/utils/otto/genArk/quickPush.pl +++ src/hg/utils/otto/genArk/quickPush.pl @@ -22,31 +22,31 @@ my $lf; # going to become the output handle for the logfile my $expectName = "hgwdev"; my $hostName = `hostname -s`; chomp $hostName; if ($hostName ne $expectName) { printf STDERR "ERROR: must run this on %s ! This is: %s\n", ${expectName}, ${hostName}; exit 255; } ############################################################################## ### pass in a machine name and a contrib/directory to rsync out sub rsyncContrib($$) { my ($dest, $contribDir) = @_; my $contribPath = "/gbdb/genark/" . $contribDir; - my $cmd = qq(rsync --stats -a -L --itemize-changes "$contribPath/" "qateam\@$dest:$contribPath/" 2>&1); + my $cmd = qq(rsync --mkpath --stats -a -L --itemize-changes "$contribPath/" "qateam\@$dest:$contribPath/" 2>&1); printf $lf "%s\n", $cmd; my $cmdOut = `$cmd`; if (length($cmdOut) > 1) { ; # printf $lf "%s\n", $cmdOut; } else { printf $lf "# rsync output mysteriously empty ? '%s'\n", $cmd; } } ############################################################################## ### a contrib/ directory has been identified to go out ### '$which' is either 'beta' or 'all' sub contribOut($$) { my ($which, $contribHash) = @_;