Skip to content

Commit

Permalink
Use -d to check cmake install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
liujiayi771 committed Jul 20, 2024
1 parent 359021a commit 163a164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-helper-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function wget_and_untar {
}

function cmake_install {
if [ -n "$1" ]; then
if [ -d "$1" ]; then
DIR="$1"
shift
else
Expand Down

0 comments on commit 163a164

Please sign in to comment.