FELIX-3270 fixed as suggested in the issue

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1213904 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java b/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
index 3e78114..920c042 100644
--- a/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
+++ b/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
@@ -95,7 +95,7 @@
             File[] children = source.listFiles();
             output = new ZipOutputStream(new FileOutputStream(target));
             for (int i = 0; i < children.length; i++) {
-                storeRecursive(target, new File(children[i].getName()), output);
+                storeRecursive(source, new File(children[i].getName()), output);
             }
         }
         finally {