Newly cloned sac2c does not like extant ~/.sac2crc folder
I ran into this while trying to build a newly cloned sac2c on my system. I don't particularly want to blow away the other sac2crc stuff...
Regardless of that, the error message is clearly wrong. What's the best way to handle this?
This is my commit after:
commit 9e509b33 (origin/develop, origin/HEAD, NoSerialize)
~/sac2c.Mainbranch/sac2c/build_r$ sudo make install
[sudo] password for sac:
[ 0%] Checking git repo version
[ 0%] Built target check_repo_version
[ 1%] Built target sac2c
[ 1%] Built target cse
[ 1%] Built target echo
[ 1%] Built target sac2tex
[ 2%] Built target csd
[ 2%] Built target cb
[ 2%] Copying over sac2crc file to user's .sac2crc directory
CMake Error at /home/sac/sac2c.Mainbranch/sac2c/cmake/place-sac2crc-prelude-file.cmake:30 (MESSAGE):
No ~/.sac2crc directory found, please create it. If you have a `.sac2crc'
file, please move this to the ~/.sac2crc directory and rename it
`sac2crc.config'.
make[2]: *** [CMakeFiles/copy-sac2crc-prelude-file.dir/build.make:71: CMakeFiles/copy-sac2crc-prelude-file] Error 1
make[1]: *** [CMakeFiles/Makefile2:554: CMakeFiles/copy-sac2crc-prelude-file.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
sac@boa:~/sac2c.Mainbranch/sac2c/build_r$ git status .
On branch develop
Your branch is ahead of 'origin/develop' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean