Re: Are brackets around macros required?

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

 



On 08/19/2011 11:00 AM, Michael Schwendt wrote:
> Unless we can teach editors (the most common ones used to edit RPM spec files)
> to do the variable highlighting correctly, explicit brackets are the way to go.
> If a variable name is surrounded by whitespace, missing brackets are okay.

Or, you can just build a habit around always using brackets and avoid 
spending an hour trying to figure out why a macro is evaluating 
incorrectly or why a file name is being written out wrong. :)

~tom

==
Fedora Project
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux