Code

- added a condition when no svn used to build
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Sep 2009 14:42:24 +0000 (14:42 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Sep 2009 14:42:24 +0000 (14:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14279 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/make-gosa-package

index 4f375cd1036d9a220b5b36f69598c09dbc271a0c..a365cce68a4506fd14fc1174102a94e7b4146c50 100755 (executable)
@@ -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"