From cd6231a2f375af29965cf7f07bfa7dee6a39fe13 Mon Sep 17 00:00:00 2001
From: Mario Fetka <mario.fetka@gmail.com>
Date: Sat, 15 Nov 2014 21:47:56 +0100
Subject: [PATCH] add a script to copy everything to testing

---
 bin/opsi-all-testing.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/opsi-all-testing.sh b/bin/opsi-all-testing.sh
index 4e5c39e..92baaff 100755
--- a/bin/opsi-all-testing.sh
+++ b/bin/opsi-all-testing.sh
@@ -56,8 +56,8 @@ for pkg_root in public restricted ; do
     #for cfg_sort_file in `head -n-1 ${file_sort_list}` ; do
     for cfg_sort_file in `tail -n 1 ${file_sort_list}` ; do
       . ${cfg_file}
-      echo "${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge"
-      ${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge
+      echo "${BIN_DIR}/opsi-administration.sh --root ${OPSI_WEB_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge"
+      ${BIN_DIR}/opsi-administration.sh --root ${OPSI_WEB_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge
     done
   done
 done