Skip to content

Commit 3d8a112

Browse files
committed
Correctly mark gradle wrapper files as executable
1 parent c67d66e commit 3d8a112

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

grails-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,9 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos
565565
}
566566
ant.delete(file: concatFile, failonerror: false)
567567
}
568-
569-
ant.chmod(file: "${destDir}/gradlew", perm: 'u+x')
570568
}
571569

570+
ant.chmod(dir: targetDirectory, includes: "**/gradlew*", perm: 'u+x')
572571
}
573572

574573
@CompileDynamic

0 commit comments

Comments
 (0)