Skip to content
Snippets Groups Projects
Commit 668e6ee4 authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Fix inconsistencies in GO variables

parent 95c27c09
No related branches found
No related tags found
1 merge request!433Fix inconsistencies in GO variables
Pipeline #1626232 passed
......@@ -270,11 +270,13 @@ endif
#---then Go
if ( -e $thisdir/bin/go ) then
set go_dir=`readlink $thisdir/bin/go`
set go_dir=`dirname $go_dir`
set go_dir=`dirname $go_dir`
setenv GOROOT $go_dir
endif
#---then gophernotes
if ( -e $thisdir/bin/go ) then
if ( -e $thisdir/bin/gophernotes ) then
set gophernotes_bindir=`readlink $thisdir/bin/gophernotes`
set gophernotes_dir=`dirname $gophernotes_bindir`
set gophernotes_dir=`dirname $gophernotes_dir`
......@@ -283,11 +285,7 @@ if ( -e $thisdir/bin/go ) then
else
setenv GOPATH ${gophernotes_dir}
endif
if ($?GOBIN) then
setenv GOBIN ${gophernotes_bindir}:${GOBIN}
else
setenv GOBIN ${gophernotes_bindir}
endif
setenv GOBIN `dirname $gophernotes_bindir`
endif
if ( -e $thisdir/lib/libQt5Gui.so ) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment