Debian Codegraph @

scripts/kill-avarice

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 if [scip-shell system . . `[`. -f /usr/bin/cygpath.exescip-shell filesystem . . `/usr/bin/cygpath.exe`. ]; then
3 # cygwin
4 while
5 avaricepid=`psscip-shell system . . ps. -es | grepscip-shell system . . grep. '/avaricescip-shell filesystem . . `/avarice`.' | headscip-shell system . . head. -1 | cutscip-shell system . . cut. -c2-7`
6 [scip-shell system . . `[`. "$avaricepid" != "" ]
7 do
8 killscip-shell system . . kill. -9 $avaricepid
9 done
10 else
11 # linux, probably some others at least
12 killall -q avarice
13 fi