Commits

Michał Górny  committed 3911841

Disable creating packages with --pretend.

Fixes: https://bitbucket.org/mgorny/smart-live-rebuild/issue/1

  • Participants
  • Parent commits a24b66f

Comments (0)

Files changed (1)

File smartliverebuild/core.py

 				out.err('No packages matching %s in portdb, skipping.' % p)
 				packages.remove(p)
 
-		if opts.quickpkg and len(packages) >= 1:
+		if not opts.pretend and opts.quickpkg and len(packages) >= 1:
 			out.s1('Calling quickpkg to create %s%d%s binary packages ...' % (out.white, len(packages), out.s1reset))
 
 			# backwards compat, nowadays quickpkg is in ${PATH}