From 2372c8e1777388f92ad676b1a79d140af62b6c18 Mon Sep 17 00:00:00 2001 From: Charuka Tharindu Date: Thu, 5 Oct 2023 11:27:11 +0530 Subject: [PATCH] Add permissions for JRE through installation --- resources/scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/scripts/install b/resources/scripts/install index fc2bf161..38e17bb1 100755 --- a/resources/scripts/install +++ b/resources/scripts/install @@ -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