Skip to content

Commit cdf7459

Browse files
committed
killjava.sh Is Executable
Previously, changes to the packaging script to ensure that executable permissions were propagated in all packaging circumstances missed that the killjava.sh script needed to be executable as well. This change updates the packaging script to broaden the collection of files that get executable permissions during packaging. [resolves cloudfoundry#408]
1 parent e81b76f commit cdf7459

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rakelib/stage_buildpack_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def copy_task(source, target)
3838
file(target => [source, parent]) do |t|
3939
cp t.source, t.name
4040

41-
if t.source.start_with? 'bin'
41+
if t.source.include? 'bin'
4242
chmod 0o755, t.name
4343
else
4444
chmod 0o644, t.name

0 commit comments

Comments
 (0)