From e20fd214a5b9332ecf90088e8bbd3e5fe3e322cd Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 16 Dec 2011 15:24:15 +0000 Subject: [PATCH] move content of old pacdomain --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 5416d11..0f0ce56 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -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])); }