EPICS-synApps / support

APS BCDA synApps module: support
http://epics-synapps.github.io/support/
Other
3 stars 12 forks source link

BUG from IOC starter shell script - bash syntax error #12

Closed prjemian closed 5 years ago

prjemian commented 5 years ago
(base) mintadmin@mint-vm:.../iocvm7/softioc$ ./vm7.sh stop
./vm7.sh: 110: ./vm7.sh: [[: not found
./vm7.sh: 115: ./vm7.sh: [[: not found
./vm7.sh: 110: ./vm7.sh: [[: not found
./vm7.sh: 115: ./vm7.sh: [[: not found
prjemian commented 5 years ago

this goes to XXX module

prjemian commented 5 years ago

fix is:

                            if [ ${s_pid} -eq ${P_PID} ] ; then
                                SCREEN_PID=${s_pid}
                                break
                            fi

                            if [ ${s_pid} -eq ${GP_PID} ] ; then
                                SCREEN_PID=${s_pid}
                                break
                            fi
prjemian commented 5 years ago

change [[ to [ and ]] to ]