summaryrefslogtreecommitdiff
path: root/bindisttest
diff options
context:
space:
mode:
Diffstat (limited to 'bindisttest')
-rw-r--r--bindisttest/Makefile2
-rw-r--r--bindisttest/ghc.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindisttest/Makefile b/bindisttest/Makefile
index cf8e920a5e..238bce7650 100644
--- a/bindisttest/Makefile
+++ b/bindisttest/Makefile
@@ -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
diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk
index be9143b651..4705cef2b0 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -30,7 +30,7 @@ test_bindist:
# 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 bindisttest/a/b/c/ && bzip2 -cd ../../../../$(BIN_DIST_TEST_TAR_BZ2) | $(TAR) -xf -
+ cd bindisttest/a/b/c/ && $(BZIP2_CMD) -cd ../../../../$(BIN_DIST_TEST_TAR_BZ2) | $(TAR_CMD) -xf -
ifeq "$(Windows)" "YES"
mv bindisttest/a/b/c/$(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
else