Fix building on macOS #1
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/svn-manager#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Sergey/svn-manager:fix_macos_compile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Makefile was hard-coded to some GNU/Linux specific commands and
arguments:
cp -u
does not exist on macOS (and possible BSD either).Likely, the rsync is already used in other steps, so we can use it
in place of
co -u
as well.On macOS there is no sma256sum command.
Not by default, anyway. While it is probably available via installing
core utils via brew, this is quite big package which could cause other
issues, so it is not really no-brainer to install.
This is solved by detecting availability of sha256sum command and
using
shasum -a 256
if the former is not available.