diff --git a/gruntfile.js b/gruntfile.js index 99760a25d..defcd07bf 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -285,11 +285,10 @@ function shell_buildBinary(p, a) { } function shell_buildBinaryOnDevOps(p, a) { - var binfile = 'portainer-' + p + '-' + a; if (p === 'linux') { - return 'build/build_binary_devops.sh ' + p + ' ' + a + ';' + return 'build/build_binary_devops.sh ' + p + ' ' + a + ';'; } else { - return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"' + return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"'; } } @@ -330,4 +329,4 @@ gruntfile_cfg.shell = { buildBinaryOnDevOps: { command: shell_buildBinaryOnDevOps }, run: { command: shell_run }, downloadDockerBinary: { command: shell_downloadDockerBinary } -}; \ No newline at end of file +};