Skip to content
Snippets Groups Projects

Fix inconsistencies in GO variables

Merged Pere Mato Vila requested to merge SPI-1622 into master
1 file
+ 4
6
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading