pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/ruby



* On 2022-09-03 at 14:15 BST, Takahiro Kambe wrote:

Log Message:
lang/ruby/rails.mk: use expr instead of ${EXPR}

Since rails.mk might be used before ${EXPR} is defined, use expr
instead of ${EXPR}.

There's no guarantee that whatever "expr" happens to be first in PATH will be the correct one. You can ensure the variable will be evaluated correctly by using the:

        RAILS_NEXT_cmd= ${EXPR} ...
        SOMETHING= ${RAILS_NEXT_cmd:sh}

style instead.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com



Home | Main Index | Thread Index | Old Index