Re: [Cocci] [PATCH v3 4/6] coccicheck: add indexing enhancement options
From: Luis R. Rodriguez
Date: Wed Jun 15 2016 - 16:00:55 EST
On Wed, Jun 15, 2016 at 01:20:19PM +0200, SF Markus Elfring wrote:
> > +DIR=$(dirname $(readlink -f $0))
> > +DIR="${DIR}/../"
>
> How do you think about to merge these variable assignments also into one?
>
> +DIR="$(dirname $(readlink -f $0))/../"
Sure.
Luis