Skip to content

Commit cb1c001

Browse files
authored
Merge pull request #424 from github/pages-remote-tempdir
Use remote tempdir when finalizing Pages routes
2 parents 487113e + feea509 commit cb1c001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

share/github-backup-utils/ghe-restore-pages

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ if $CLUSTER; then
148148
bm_start "$(basename $0) - Finalizing routes"
149149
ghe_verbose "Finalizing routes"
150150
ghe-ssh "$GHE_HOSTNAME" -- /bin/bash >&3 <<EOF
151-
split -l 1000 $routes_list $tempdir/chunk
152-
chunks=\$(find $tempdir/ -name chunk\*)
151+
split -l 1000 $remote_routes_list $remote_tempdir/chunk
152+
chunks=\$(find $remote_tempdir/ -name chunk\*)
153153
parallel -i /bin/sh -c "cat {} | github-env ./bin/dpages-cluster-restore-finalize" -- \$chunks
154154
EOF
155155
bm_end "$(basename $0) - Finalizing routes"

0 commit comments

Comments
 (0)