From 01c7d5846d023461fa881e6eda7389738d0ce54c Mon Sep 17 00:00:00 2001 From: MaxRev Date: Wed, 10 May 2023 02:48:19 +0300 Subject: [PATCH] Fix command params in target --- osx/gdal-makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osx/gdal-makefile b/osx/gdal-makefile index 90168626d..160d51b10 100644 --- a/osx/gdal-makefile +++ b/osx/gdal-makefile @@ -65,9 +65,8 @@ init_%: @echo "$(TO) Sources restore complete" clone_%: - echo "$($(UP)_ROOT)" @if [ ! -d "$($(UP)_ROOT)" ]; then \ - $(GIT) clone $(GIT_CLONE_DEPTH) $($(UP)_ROOT); \ + $(GIT) clone $(GIT_CLONE_DEPTH) --branch $($(UP)_COMMIT_VER) $($(UP)_REPO) $($(UP)_ROOT); \ fi; reset_%: