From 68d60a4a787d44763bd59824662bc2292d0ff410 Mon Sep 17 00:00:00 2001
From: Robert Izzard <r.izzard@surrey.ac.uk>
Date: Fri, 6 Aug 2021 16:51:10 +0100
Subject: [PATCH] fix typo in ubuntu install script

---
 ubuntu_install_binary_c.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ubuntu_install_binary_c.sh b/ubuntu_install_binary_c.sh
index 648f3a6a4..a96f1d038 100755
--- a/ubuntu_install_binary_c.sh
+++ b/ubuntu_install_binary_c.sh
@@ -85,14 +85,14 @@ function setup_bash
     then
         # set up bash paths : do this only once!
         echo '# binary_c paths do not alter' >> $BASHRC
+        echo "export BINARY_C=\"$BINARY_C\"" >> $BASHRC
         echo 'export LD_LIBRARY_PATH=$HOME/lib:$BINARY_C:$BINARY_C/src' >> $BASHRC # do this only once!
         echo 'export PATH=.:$HOME/bin:$HOME/.local/bin:$PATH' >> $BASHRC # do this only once!
-    echo "export BINARY_C=\"$BINARY_C\"" >> $BASHRC
 
     # psb, psbb, git functions etc. and completion of binary_c arguments
     printf '%s' '
 
-# source perlbrew
+# source perlbrewbinary_c
 source $HOME/perl5/perlbrew/etc/bashrc
 
 # function to switch to progs/stars/binary_c
-- 
GitLab