aw-was-here commented on a change in pull request #144:
URL: https://github.com/apache/yetus/pull/144#discussion_r500367052



##########
File path: asf-site-src/config.rb
##########
@@ -158,14 +159,18 @@ def build_release_docs(output, version) # rubocop:disable 
Metrics/AbcSize, Metri
     end
   else
     puts "Downloading and extracting #{version} from ASF archives"
-    `(cd  #{output} \
+    `(pushd #{output} \
       && mkdir -p build-#{version} \
       && curl --fail --location --output site-#{version}.tar.gz \
         
https://archive.apache.org/dist/yetus/#{version}/apache-yetus-#{version}-site.tar.gz
 \
       && tar -C build-#{version} \
          --strip-components 3 -xzpf site-#{version}.tar.gz \
         apache-yetus-#{version}-site/documentation/in-progress/ \
+      && popd

Review comment:
       Yeah. I was troubleshooting something else and suspected that it might 
be related to this.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to