From 7f6a7aa16b884c5d7ed112a1d39deef673b52635 Mon Sep 17 00:00:00 2001 From: opensides Date: Thu, 17 Sep 2009 14:42:24 +0000 Subject: [PATCH] - added a condition when no svn used to build git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14279 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/make-gosa-package | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gosa-core/contrib/make-gosa-package b/gosa-core/contrib/make-gosa-package index 4f375cd10..a365cce68 100755 --- a/gosa-core/contrib/make-gosa-package +++ b/gosa-core/contrib/make-gosa-package @@ -346,9 +346,12 @@ fi echo "Removing gosa snapshot..." if [ -z "$DEBIAN_PKG" ] then - for dir in $GOSA_DIR; do - rm -rf "$dir" - done + if [ "$NO_SVN" = "use" ] + then + for dir in $GOSA_DIR; do + rm -rf "$dir" + done + fi else for dir in $GOSA_DIR $GOSA_SI_DIR $GOSA_PLUGIN_DIRS; do rm -rf "$dir" -- 2.30.2