Browse Source

Optimize latex.sh

master
Riyyi 7 years ago
parent
commit
faa2c5b135
  1. 2
      .scripts/latex.sh

2
.scripts/latex.sh

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [ "$1" = "kill" ]; then if [ "$1" = "kill" ]; then
kill -9 $(pgrep latex.sh) pkill latex.sh
else else
DIR="$1" DIR="$1"
OUT="$DIR/out" OUT="$DIR/out"

Loading…
Cancel
Save