You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/02/07 04:28:56 UTC

[GitHub] [skywalking-banyandb] lujiajing1126 commented on pull request #77: Remove unnecessary PATH usage in Makefile(s)

lujiajing1126 commented on pull request #77:
URL: https://github.com/apache/skywalking-banyandb/pull/77#issuecomment-1031063011


   According to the official GNU documents,
   
   > Variable and function references in recipes have identical syntax and semantics to references elsewhere in the makefile. They also have the same quoting rules: if you want a dollar sign to appear in your recipe, you must double it (‘$$’). For shells like the default shell, that use dollar signs to introduce variables, it’s important to keep clear in your mind whether the variable you want to reference is a make variable (use a single dollar sign) or a shell variable (use two dollar signs). For example:
   
   So for the case of `mockgen` which is used in the go source codes with `//go:generate mockgen`, we still have to set an additional `PATH`. Then the excerpt above implies a doubled dollar sign must be used for expansion lazily in the shell context.
   
   I've tested locally and it works well. @wu-sheng 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org