Closed
Description
I've followed readme's MacOS instructions for opensaas-sh
but running the patch.sh
fails when it calls the dope.sh
script.
Error message:
patch: unrecognized option `--merge'
usage: patch [-bCcEeflNnRstuv] [-B backup-prefix] [-D symbol] [-d directory]
[-g vcs-option] [-F max-fuzz] [-i patchfile] [-o out-file]
[-p strip-count] [-r rej-name] [-T | -Z]
[-V t | nil | never | none] [-x number] [-Y prefix]
[-z backup-ext] [--quoting-style style] [--posix]
[origfile [patchfile]]
patch <patchfile
[Failed with exit code 1]
On my latests favicon changes PR I'm doing I tried to just remove the flag, it didn't break anything:
patch_output=$(patch --no-backup-if-mismatch --merge "${DERIVED_DIR}/${derived_filepath}" < "${diff_filepath}")
->
patch_output=$(patch --no-backup-if-mismatch "${DERIVED_DIR}/${derived_filepath}" < "${diff_filepath}")
Though, that might not be case for all situations.
We need to explore an alternative.