Fixed test case where the bash_it.sh would fail with a non-zero return value
This was caused by the way the check for installed preview apps was handled.pull/1043/head
parent
f57bd1e131
commit
fb6fcaeb06
|
|
@ -91,9 +91,13 @@ fi
|
|||
|
||||
# Adding Support for other OSes
|
||||
PREVIEW="less"
|
||||
[ -s /usr/bin/gloobus-preview ] && PREVIEW="gloobus-preview"
|
||||
|
||||
if [ -s /usr/bin/gloobus-preview ]; then
|
||||
PREVIEW="gloobus-preview"
|
||||
elif [ -s /Applications/Preview.app ]; then
|
||||
# shellcheck disable=SC2034
|
||||
[ -s /Applications/Preview.app ] && PREVIEW="/Applications/Preview.app"
|
||||
PREVIEW="/Applications/Preview.app"
|
||||
fi
|
||||
|
||||
# Load all the Jekyll stuff
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue