Commit 9326c359 authored by kgardas's avatar kgardas
Browse files

fix `sdist' tar invocation to be compatible with Solaris' tar

parent 9d33cb55
......@@ -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