mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +01:00
exclude .mrconfig .gitignore and node_modules/ from archives, as they are not needed for archives
This commit is contained in:
parent
c4189f97f4
commit
31406046c1
@ -994,7 +994,7 @@ function do_copy()
|
||||
if (file_exists($config['checkoutdir'].'/.git')) run_cmd("cd $config[checkoutdir]; git stash");
|
||||
|
||||
try {
|
||||
$cmd = '/usr/bin/rsync -r --delete --exclude .svn --exclude .git '.$config['checkoutdir'].'/ '.$config['egw_buildroot'].'/'.$config['aliasdir'].'/';
|
||||
$cmd = '/usr/bin/rsync -r --delete --delete-excluded --exclude .svn --exclude .git\* --exclude .mrconfig --exclude node_modules/ '.$config['checkoutdir'].'/ '.$config['egw_buildroot'].'/'.$config['aliasdir'].'/';
|
||||
run_cmd($cmd);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user