Allow for /usr/bin/hipcc to be a symlink

SWDEV-267206

If /usr/bin/hipcc is a symlink then resolve it first, and then find
the resulting directory rather than resolving /usr/bin.

Change-Id: I380728ffa05ed813cc793a1d6488aaae81ddbda8
This commit is contained in:
Icarus Sparry
2021-01-08 17:53:32 -05:00
کامیت شده توسط Maneesh Gupta
والد f24b2e075a
کامیت 24c8e5a348
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
+1 -1
مشاهده پرونده
@@ -10,7 +10,7 @@ use List::Util qw(max);
my $base_dir;
BEGIN {
$base_dir = Cwd::realpath( dirname(__FILE__) );
$base_dir = dirname( Cwd::realpath(__FILE__) );
}
use lib "$base_dir/";
use hipvars;