move content of old pacdomain

This commit is contained in:
Peter Hormanns 2011-12-16 15:24:15 +00:00
parent 2788820e7e
commit e20fd214a5

View File

@ -279,7 +279,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
+ domDir + "/subs-ssl " + domDir + "/htdocs-ssl/.htaccess "));
for (int idx = 0; idx < sourceDirs.length; idx++) {
processor.appendProcessor(
new ShellProcessor("shopt dotglob && ls " + pacDir + "/" + sourceDirs[idx] + " >/dev/null 2>&1" +
new ShellProcessor("shopt -s dotglob && ls " + pacDir + "/" + sourceDirs[idx] + " >/dev/null 2>&1" +
" && mv " + pacDir + "/" + sourceDirs[idx] + "/* " + domDir + "/" + targetDirs[idx] + "/ " +
" && rmdir " + pacDir + "/" + sourceDirs[idx]));
}