Some distros do not ship the coreutils 'realpath', so use 'readlink -f'
instead, which is equivalent for the usage here.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
Building the tests is enabled by default, but because the test suite
requires root privileges to run at the moment, people should have to
option to disable the tests entirely.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This release fixes a small issue with permissions on the target files
created by both bsdiff and bspatch, namely that there is no reason for
them not to be group and world readable.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
Because the target files are only written to, not read from, by either
bsdiff or bspatch, we can open them write-only.
Also, I don't see a reason for the file permissions to be 600, so loosen
the permissions to be 644.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>