Skip to content
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.

Commit

Permalink
Don't use bash-specific command presence on PATH lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan971 committed Aug 27, 2019
1 parent f1ffc6c commit c74e774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_with_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function build_via_docker_image() {

local MOUNTED_DIR
local M2_DIR_ABSOLUTE
if [ "$(which cygpath)" ]; then
if [ "$(command -v cygpath)" ]; then
MOUNTED_DIR=$(cygpath -aw .)
M2_DIR_ABSOLUTE=$(cygpath -aw "$HOME/.m2")
else
Expand Down

0 comments on commit c74e774

Please sign in to comment.