Code

- Adding command to clean from .svn entries
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Jun 2009 08:17:47 +0000 (08:17 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Jun 2009 08:17:47 +0000 (08:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13710 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/make-gosa-package

index a813879f46e884dfd2b4f9855bdbd2844c804917..b5a622f20a10d0f14fb7b5e16c71d14272f50657 100755 (executable)
@@ -180,6 +180,11 @@ then
        fi
 fi
 
+echo "cleaning svn entries from sources"
+find ${GOSA_DIR} -type d -name ".svn" -exec rm -rf {} \; >/dev/null 2>&1
+find ${GOSA_SI_DIR} -type d -name ".svn" -exec rm -rf {} \; >/dev/null 2>&1
+find gosa-plugins-${BNAME} -type d -name ".svn" -exec rm -rf {} \; >/dev/null 2>&1
+
 echo "Creating original sources 'gosa-${GOSA_VER}'..."
 tar -c -f "gosa_${GOSA_VER}.orig.tar" "${GOSA_DIR}"
 tar -c -f "gosa-si_${GOSA_VER}.orig.tar" "${GOSA_SI_DIR}"