@@ -165,7 +165,7 @@ genTravisFromCabalFile fn xpkgs = do
165165 , " - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)"
166166 , " - cabal test"
167167 , " - cabal check"
168− , " - cabal sdist # tests that a source-distribution can be generated"
168+ , " - ./dist/setup/setup sdist # tests that a source-distribution can be generated"
169169 , ""
170170 , "# Check that the resulting source distribution can be built & installed."
171171 , "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"