Thank you for the reply, I was starting to think I was on my own here haha. I'm afraid I haven't got any further really - the only way I can change the error message is by moving the self-made .bash_profile outside of its recommended path, and straight into the home directory. The error message then becomes:
CDP Install script copyfile: Error opening outfile /Users/x/tmp/bprof-backup.txt
CDP Install script ERROR: failed to backup .bash_profile.
I'm using an M1 Macbook Air with the latest OS, so I originally thought it could have something to do with that, but from your comment it would seem otherwise. The only other thing that I've thought of is the 'xattr -rc' command mentioned in the manual installation document, and the issue therefore being something to do with permissions, but what exactly to do with them is unknown to me. That's all from me for now; I'll keep searching though.
CDP Install script copyfile: Error opening outfile /Users/x/tmp/bprof-backup.txt
CDP Install script ERROR: failed to backup .bash_profile.
I'm using an M1 Macbook Air with the latest OS, so I originally thought it could have something to do with that, but from your comment it would seem otherwise. The only other thing that I've thought of is the 'xattr -rc' command mentioned in the manual installation document, and the issue therefore being something to do with permissions, but what exactly to do with them is unknown to me. That's all from me for now; I'll keep searching though.