From f9ea694c55297b5369b37c988c6fe5a90fcff7ad Mon Sep 17 00:00:00 2001 From: Tran Khanh Duy <40482367+khanhduytran0@users.noreply.github.com> Date: Sun, 25 Oct 2020 15:08:40 +0700 Subject: [PATCH] Use tree command instead of bunch of ls commands To locate openjdk output dir --- removejdkdebuginfo.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/removejdkdebuginfo.sh b/removejdkdebuginfo.sh index c34dc87..686592c 100755 --- a/removejdkdebuginfo.sh +++ b/removejdkdebuginfo.sh @@ -3,13 +3,9 @@ set -e rm -rf jreout || true # locate it:) -ls */* - -echo "----- ls more -----" -ls */*/* - -echo "----- ls more -----" -ls */*/*/* +cd openjdk +tree +cd .. cp -r openjdk/build/linux-${TARGET_JDK}-normal-server-release/jdk jreout find jreout -name "*.diz" | xargs -- rm