Skip to content

Commit 31e9f04

Browse files
authored
Merge pull request #158 from OpenVoxProject/fix_macos_build
Add sudo where needed for MacOS builds
2 parents ec69c42 + 19303bc commit 31e9f04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packaging/configs/components/openbolt-runtime.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# of these directories instead:
3131
[
3232
"tar -xzf #{tarball_name}",
33-
'rsync -ka opt/ /opt/'
33+
'sudo rsync -ka opt/ /opt/'
3434
]
3535
else
3636
["gunzip -c #{tarball_name} | #{platform.tar} -k -C / -xf -"]

packaging/configs/components/openbolt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
if platform.is_macos?
5050
pkg.add_source 'file://resources/files/paths.d/50-bolt', sum: '4abf75aebbbfbbefc4fe0173c57ed0b2'
51-
pkg.install_file('../50-bolt', '/etc/paths.d/50-bolt')
51+
pkg.install_file('../50-bolt', '/etc/paths.d/50-bolt', sudo: true)
5252
else
5353
pkg.link bolt_exe, File.join(settings[:main_bin], 'bolt')
5454
end

0 commit comments

Comments
 (0)