Skip to content

Commit

Permalink
Fix bug: replace tokens in init script.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Oct 10, 2021
1 parent c10cf22 commit 1129b07
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gradle/archive.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ task prepareBin(type: Copy) {
from('src/main/bash')
into("$baseDir/bin")
include('**/sdkman-init.sh')
}

task prepareScripts(type: Copy) {
from('src/main/bash')
into("$baseDir/src")
include('**/*')
exclude('**/sdkman-init.sh')
filter(
ReplaceTokens,
tokens: [
Expand All @@ -23,6 +16,13 @@ task prepareScripts(type: Copy) {
)
}

task prepareScripts(type: Copy) {
from('src/main/bash')
into("$baseDir/src")
include('**/*')
exclude('**/sdkman-init.sh')
}

task prepareContrib(type: Copy) {
from('contrib')
into("$baseDir/contrib")
Expand Down

0 comments on commit 1129b07

Please sign in to comment.