Skip to content

Commit

Permalink
devonfw#849: fixed shellcheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedagdmoun committed Aug 30, 2022
1 parent 149f98c commit 8b71326
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/src/main/resources/scripts/command/gcviewer
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function doStart(){
then
doSetup
else
cd "${GCVIEWER_HOME}"
cd "${GCVIEWER_HOME}" || exit
doDevonCommand java setup silent
doEcho "Starting GCViewer..."
doRunGCViewer
Expand All @@ -47,7 +47,7 @@ function doStart(){

doCreateGCViewerScript(){

cd "${GCVIEWER_HOME}"
cd "${GCVIEWER_HOME}" || exit
touch gcviewer-script
echo -e "#!/usr/bin/env bash\n\njava -jar gcviewer*.jar&" >> gcviewer-script
chmod +x gcviewer-script
Expand All @@ -56,7 +56,7 @@ doCreateGCViewerScript(){

doRunGCViewer(){

cd "${GCVIEWER_HOME}"
cd "${GCVIEWER_HOME}" || exit
gcviewer-script

}
Expand Down

0 comments on commit 8b71326

Please sign in to comment.