https://bugs.kde.org/show_bug.cgi?id=365897

--- Comment #3 from jarymut+...@gmail.com ---
Hi.
I forgot about it, because someone in my distro (Gentoo) used same kind of
patch for version 17: https://bugs.gentoo.org/show_bug.cgi?id=596940

according to POSIX echo does not take any arguments, but cmake/FindR.cmake
still contains:
    sh -c "echo -n $R_INCLUDE_DIR"
at https://github.com/KDE/cantor/blob/master/cmake/FindR.cmake#L34

There are two options:
1. go POSIX and change it to:
    sh -c "printf $R_INCLUDE_DIR"
2. Bash is installed on most systems, so change it to:
    bash -c "echo -n $R_INCLUDE_DIR"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to