Skip to content

Commit e9ea717

Browse files
committed
testsute: tar: don't pass --force-local on Windows
GNU tar supports the options but other tar's don't. The current Windows setup on github runners seem to use a tar that doesn't.
1 parent d3502d2 commit e9ea717

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cabal-testsuite/src/Test/Cabal/Prelude.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ src `archiveTo` dst = do
529529
-- TODO: --format ustar, like createArchive?
530530
-- --force-local is necessary for handling colons in Windows paths.
531531
tar $ ["-czf", dst]
532-
++ ["--force-local" | buildOS == Windows]
533532
++ ["-C", src_parent, src_dir]
534533

535534
infixr 4 `archiveTo`

0 commit comments

Comments
 (0)