Skip to content
Snippets Groups Projects
Commit 53c2d644 authored by Jan Mach's avatar Jan Mach
Browse files

Fixed the non-functioning archive Grunt subcommand.

(Redmine issue: #3387)
parent 221f6ee2
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ module.exports = function(grunt) {
},
// Archive previously built DEB packages from build directory.
deb_archive: {
command: 'if [[ -n $(find <%= project_paths.deploy_dir %> -maxdepth 1 -name *.deb) ]]; then mv -f <%= project_paths.deploy_dir %>*.deb <%= project_paths.archive_dir %>; fi;'
command: 'pkgs=`find <%= project_paths.deploy_dir %> -maxdepth 1 -name *.deb` && if [ -n "$pkgs" ]; then mv -f <%= project_paths.deploy_dir %>*.deb <%= project_paths.archive_dir %>; fi;'
},
// Build DEB package.
deb_build: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment