Commit 47984faa authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2026 from kgardas/master

fix `sdist' tar invocation to be compatible with Solaris' tar
parents 9d33cb55 9326c359
......@@ -417,7 +417,7 @@ createArchive verbosity pkg_descr mb_lbi tmpDir targetPref = do
-- sequences to set up the paths correctly, which is problematic in a Windows
-- setting.]
rawSystemProgram verbosity tarProg
["-C", tmpDir, "-czf", tarBallFilePath, tarBallName pkg_descr]
["-czf", tarBallFilePath, "-C", tmpDir, tarBallName pkg_descr]
return tarBallFilePath
-- | Given a buildinfo, return the names of all source files.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment