From 9ed214fb52c474915f56c905582ab107f1634921 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Sun, 30 Aug 2020 00:34:04 -0500
Subject: [PATCH] 	modified:   bin/compile

---
 bin/compile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/bin/compile b/bin/compile
index 12cd825..ea6387a 100755
--- a/bin/compile
+++ b/bin/compile
@@ -1,7 +1,7 @@
 #!/bin/bash
 #set -o nounset
 set -o errexit
-
+startdir=$(pwd)
 export PYTHONPATH=/usr/local/lib:$PYTHONPATH  
 export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH  
 export PATH=/usr/local/bin:$PATH  
@@ -29,9 +29,7 @@ export PYTHONPATH=/usr/local/lib:$PYTHONPATH
 export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH  
 export PATH=/usr/local/bin:$PATH  
 source /usr/local/bin/thisroot.sh 
-git clone https://eicweb.phy.anl.gov/jlab/hallc/analyzer_software/hcana.git 
-mkdir hcana/build && cd hcana/build  
-git pull 
+cd $startdir
+mkdir build && cd build  
 cmake ../.  && make -j20 VERBOSE=1 && make install  
-cd /tmp && rm -rf hcana 
 
-- 
GitLab