Fix bindisttest Makefile
[ghc-hetmet.git] / bindisttest / Makefile
index cf8e920..238bce7 100644 (file)
@@ -36,7 +36,7 @@ all:
 # NB. tar has funny interpretation of filenames sometimes (thinking
 # c:/foo is a remote file), so it's safer to bzip and then pipe into
 # tar rather than using tar -xjf:
-       cd a/b/c/ && bzip2 -cd ../../../$(BIN_DIST_TEST_TAR_BZ2) | $(TAR) -xf -
+       cd a/b/c/ && $(BZIP2_CMD) -cd ../../../$(BIN_DIST_TEST_TAR_BZ2) | $(TAR_CMD) -xf -
 ifeq "$(Windows)" "YES"
        mv a/b/c/$(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
 else