mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-11 23:19:04 +08:00
Simplify MKTEMP_DT logic
This commit is contained in:
parent
dbfc89f9af
commit
edb76e281a
@ -25,14 +25,7 @@ else
|
||||
|
||||
UNAME=$(uname -s | tr 'A-Z' 'a-z')
|
||||
|
||||
case $UNAME in
|
||||
darwin | *freebsd | dragonfly | cygwin*)
|
||||
MKTEMP_DT="mktemp -d -t"
|
||||
;;
|
||||
* )
|
||||
MKTEMP_DT="mktemp -d --tmpdir"
|
||||
;;
|
||||
esac
|
||||
MKTEMP_DT="mktemp -d -t"
|
||||
FONT_CONFIG_CACHE=$(${MKTEMP_DT} font_tmp.XXXXXXXXXX)
|
||||
|
||||
if [[ ($UNAME == *darwin*) ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user