Unverified Commit 2afef51e authored by nchernia's avatar nchernia Committed by GitHub
Browse files

Merge pull request #191 from rmdickson/Issue189

suppress too many args error if host returns >1 line
parents e0d1bb74 63c4ae51
Loading
Loading
Loading
Loading
+2 −2
Changes for SLURM/scripts/juicer.sh: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -68,8 +68,8 @@ juicer_version="1.6"
## Set the following variables to work with your system

# Aiden Lab specific check
isRice=$(host $(hostname) | awk '{if ($1~/rice/){print 1}else {print 0}}') #'
isBCM=$(host $(hostname) | awk '{if ($1~/bcm/){print 1}else {print 0}}') #'
isRice=$(host $(hostname) | awk '{if ($1~/rice/) {print 1} else {print 0}; exit}') #'
isBCM=$(host $(hostname) | awk '{if ($1~/bcm/) {print 1} else {print 0}; exit}') #'
isVoltron=0
## path additionals, make sure paths are correct for your system
## use cluster load commands