Resolved wrong mv usage for extracted directory (#9678)

Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
This commit is contained in:
edwardpwtsoi 2021-10-05 20:56:33 +08:00 committed by GitHub
parent 9e2347f8ff
commit 7c6efbc8a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ RUN \
rm -rf pytorch-lightning ; \
wget https://github.com/PyTorchLightning/pytorch-lightning/archive/${LIGHTNING_VERSION}.zip --progress=bar:force:noscroll ; \
unzip ${LIGHTNING_VERSION}.zip ; \
mv pytorch-lightning-*/ pytorch-lightning ; \
mv pytorch-lightning-*/* pytorch-lightning ; \
rm -rf pytorch-lightning-* ; \
rm *.zip ; \
fi && \
# save the examples