changeset 623:42da89d8bd51

publish: Change the `shell` config setting name for the command to run.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 08 Feb 2016 21:05:26 -0800
parents 5d8e0c8cdb5f
children b45fb2137a07
files piecrust/publishing/shell.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/publishing/shell.py	Mon Feb 08 20:44:38 2016 -0800
+++ b/piecrust/publishing/shell.py	Mon Feb 08 21:05:26 2016 -0800
@@ -6,7 +6,7 @@
     PUBLISHER_NAME = 'shell'
 
     def _getCommandArgs(self, ctx):
-        target_cmd = self.getConfigValue('cmd')
+        target_cmd = self.getConfigValue('command')
         if not target_cmd:
             raise Exception("No command specified for publish target: %s" %
                             self.target)