From e20fd214a5b9332ecf90088e8bbd3e5fe3e322cd Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Fri, 16 Dec 2011 16:24:15 +0100
Subject: [PATCH] move content of old pacdomain

---
 hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 @@
 										 + 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]));
 		}

--
Gitblit v1.9.3