Use tree command instead of bunch of ls commands

To locate openjdk output dir
This commit is contained in:
Tran Khanh Duy 2020-10-25 15:08:40 +07:00 committed by GitHub
parent 7edc4fd22a
commit f9ea694c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,9 @@ set -e
rm -rf jreout || true rm -rf jreout || true
# locate it:) # locate it:)
ls */* cd openjdk
tree
echo "----- ls more -----" cd ..
ls */*/*
echo "----- ls more -----"
ls */*/*/*
cp -r openjdk/build/linux-${TARGET_JDK}-normal-server-release/jdk jreout cp -r openjdk/build/linux-${TARGET_JDK}-normal-server-release/jdk jreout
find jreout -name "*.diz" | xargs -- rm find jreout -name "*.diz" | xargs -- rm