Skip to content

Commit

Permalink
Add permissions for JRE through installation
Browse files Browse the repository at this point in the history
  • Loading branch information
udda1996 committed Oct 5, 2023
1 parent cb0a4d1 commit 2372c8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ then
\cp $CURRENT_PATH/ballerina-command-@version@/scripts/_bal $CURRENT_PATH/../scripts
fi

if [ -d "$CURRENT_PATH/../dependencies/jdk-17.0.7+7-jre" ]
then
chmod -R 755 $CURRENT_PATH/../dependencies/jdk-17.0.7+7-jre
fi

if [ $? -ne '0' ]; then
echo "error occurred while copying completion script files."
fi
Expand Down

0 comments on commit 2372c8e

Please sign in to comment.