From: Igor Lima Date: Wed, 20 Feb 2013 00:26:20 +0000 (-0300) Subject: fix zone and zones tasks X-Git-Tag: 2.1.0~55^2~3^2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a20b73f2e31a32789ff291407f30d5a91ca98c01;p=thirdparty%2Fmoment.git fix zone and zones tasks --- diff --git a/tasks/zone.js b/tasks/zone.js index 30386341e..6ffe7bc2e 100644 --- a/tasks/zone.js +++ b/tasks/zone.js @@ -35,7 +35,7 @@ module.exports = function (grunt) { ******************************/ function getCurrentTimezone(cb) { - grunt.utils.spawn({ + grunt.util.spawn({ cmd: "systemsetup", args: ["gettimezone"] }, function (err, result, code) { diff --git a/tasks/zones.js b/tasks/zones.js index 2084e8056..23148b310 100644 --- a/tasks/zones.js +++ b/tasks/zones.js @@ -43,7 +43,7 @@ module.exports = function (grunt) { } function getCurrentTimezone(cb) { - grunt.utils.spawn({ + grunt.util.spawn({ cmd: "systemsetup", args: ["gettimezone"] }, function (err, result, code) { @@ -52,7 +52,7 @@ module.exports = function (grunt) { } function getAllTimezones(cb) { - grunt.utils.spawn({ + grunt.util.spawn({ cmd: "systemsetup", args: ["listtimezones"] }, function (err, result, code) { @@ -63,7 +63,7 @@ module.exports = function (grunt) { } function setTimezone(zone, cb) { - grunt.utils.spawn({ + grunt.util.spawn({ cmd: "systemsetup", args: ["settimezone", zone] }, function (err, result, code) { @@ -89,7 +89,7 @@ module.exports = function (grunt) { } function testZone(zone, cb) { - grunt.utils.spawn({ + grunt.util.spawn({ cmd: "grunt", args: ["zone"] }, function (err, result, code) {