Skip to content

Commit 1129b07

Browse files
committed
Fix bug: replace tokens in init script.
1 parent c10cf22 commit 1129b07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

gradle/archive.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ task prepareBin(type: Copy) {
77
from('src/main/bash')
88
into("$baseDir/bin")
99
include('**/sdkman-init.sh')
10-
}
11-
12-
task prepareScripts(type: Copy) {
13-
from('src/main/bash')
14-
into("$baseDir/src")
15-
include('**/*')
16-
exclude('**/sdkman-init.sh')
1710
filter(
1811
ReplaceTokens,
1912
tokens: [
@@ -23,6 +16,13 @@ task prepareScripts(type: Copy) {
2316
)
2417
}
2518

19+
task prepareScripts(type: Copy) {
20+
from('src/main/bash')
21+
into("$baseDir/src")
22+
include('**/*')
23+
exclude('**/sdkman-init.sh')
24+
}
25+
2626
task prepareContrib(type: Copy) {
2727
from('contrib')
2828
into("$baseDir/contrib")

0 commit comments

Comments
 (0)