diff --git a/scripts/makepeds b/scripts/makepeds index a052fcd6..535f8619 100755 --- a/scripts/makepeds +++ b/scripts/makepeds @@ -190,14 +190,15 @@ else if [[ $USER =~ "opr" ]]; then printf "Please enter user name (cannot run as from operator account): \n"; read USER fi - if [[ $FFB -eq 0 ]]; then + + if [[ $FFB == 1 ]]; then echo calling on FFB system: makepeds_psana $@ echo ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@" - #ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@" + ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@" else echo calling on offline system: makepeds_psana $@ echo ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@" - #ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@" + ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@" fi fi