From: opensides Date: Thu, 17 Sep 2009 14:42:24 +0000 (+0000) Subject: - added a condition when no svn used to build X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f6a7aa16b884c5d7ed112a1d39deef673b52635;p=gosa.git - 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 --- 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"