Skip to content

Commit

Permalink
use 7z on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jan 14, 2025
1 parent 55a5425 commit ea6a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile-libs.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $(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),,$@)
7z x -y -o"$(BIN_DIR)" "$(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT)"
else
tar xzf $(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT) -C $(BIN_DIR) $(subst $(BIN_DIR),,$@)
endif
Expand Down

0 comments on commit ea6a574

Please sign in to comment.