From 0ea86c7ea1062c332256a15f5ab84fabf085398d Mon Sep 17 00:00:00 2001
From: adrien-matta <a.matta@surrey.ac.uk>
Date: Tue, 6 May 2014 17:26:25 +0100
Subject: [PATCH] * Fixing wrong test in Rootlong.sh

---
 NPLib/scripts/RootLogon.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPLib/scripts/RootLogon.sh b/NPLib/scripts/RootLogon.sh
index 331c7abb4..cf24507af 100755
--- a/NPLib/scripts/RootLogon.sh
+++ b/NPLib/scripts/RootLogon.sh
@@ -27,7 +27,7 @@ if [ -f ~/.rootlogon.C ];
 then
   echo 'File .rootlogon.C already exist: attempt to modified it'
   # Check if NPTOOL stuff is already in
-  SEARCH=$(grep NPTOOL ~/test.C)
+  SEARCH=$(grep NPTOOL ~/.rootlogon.C)
   echo $SEARCH
   if [ ! -n "$SEARCH" ];
   then
-- 
GitLab