> Isn't this backwards? And why is PERL set twice in a row?

Really did not get the first question. Regarding PERL being set twice, I am 
just trying to manipulate it to the actual host binary, is there a better way? 
'which perl' or 'env perl' will only point to the symlink under HOSTTOOLS.

BR,
Awais

________________________________________
From: openembedded-core-boun...@lists.openembedded.org 
<openembedded-core-boun...@lists.openembedded.org> on behalf of Alexander 
Kanavin <alexander.kana...@linux.intel.com>
Sent: Friday, May 12, 2017 7:06 PM
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] autogen: fix autoopts script generation to 
handle shebang

On 05/12/2017 04:59 PM, Awais Belal wrote:
> +-        *perl ) echo '#!/usr/bin/env perl'
> ++        *perl )  PERL=`which perl`
> ++                 PERL=`readlink -f ${PERL}`
> ++                 echo '#!' ${PERL}

Isn't this backwards? And why is PERL set twice in a row?


Alex

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to