Skip to content

Commit

Permalink
fix extracting athena lib on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jan 14, 2025
1 parent a02d0c4 commit 55a5425
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile-libs.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ $(BIN_DIR).athena.version.$(ATHENA_SETUP_REV): $(PROJ_DIR)$(ATHENA_SETUP_ARTIFAC

$(BINDIR_ATHENA_SETUP_LIBS): $(BIN_DIR).athena.version.$(ATHENA_SETUP_REV)
mkdir -p $(dir $@)
ifeq ($(GOOS),windows)
tar xzf $(subst /,\\,$(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT)) -C $(subst /,\\,$(BIN_DIR)) $(subst $(BIN_DIR),,$@)
else
tar xzf $(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT) -C $(BIN_DIR) $(subst $(BIN_DIR),,$@)
endif
touch $@

# rename athena VM library
Expand Down

0 comments on commit 55a5425

Please sign in to comment.