Skip to content

Commit c5cb809

Browse files
committed
Merge branch '304-packaging-permissions'
2 parents a808635 + d5eb21b commit c5cb809

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

rakelib/stage_buildpack_task.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ def copy_task(source, target)
3737
directory parent
3838
file(target => [source, parent]) do |t|
3939
cp t.source, t.name
40+
41+
if t.source.start_with? 'bin'
42+
chmod 0755, t.name
43+
else
44+
chmod 0644, t.name
45+
end
4046
end
4147

4248
target

0 commit comments

Comments
 (0)