diff --git a/scripts/dist.py b/scripts/dist.py index 078aae0d6..ec2200eea 100755 --- a/scripts/dist.py +++ b/scripts/dist.py @@ -302,7 +302,7 @@ def call_gradle(java_home, folder): command = "gradlew" - if platform.system() == "Darwin": + if platform.system() in ["Darwin", "Linux"]: # make sure gradlew command is executable os.system("chmod +x " + os.getcwd() + "/" + folder + "/gradlew")