On Fri, Apr 27, 2018 at 03:18:17PM -0400, Jeff Mahoney wrote:
> On 4/27/18 2:56 PM, [email protected] wrote:
> > From: Jeff Mahoney <[email protected]>
> > 
> > Commit 2e1932e6a38 (btrfs-progs: build: simplify version tracking)
> > started m4_chomp to strip the newlines from the version file.  m4_chomp
> > was introduced in autoconf 2.64 but SLE11 ships with autoconf 2.63.
> > For purposes of just stripping the newline, m4_flatten is sufficient.
> 
> Scratch that.  The previous patch also requires autoconf 2.64.

I wanted to avoid shell tricks, but this should work everywhere:

m4_esyscmd([echo -n $(cat VERSION)])
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to