summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 626151c)
raw | patch | inline | side by side (parent: 626151c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 15:07:28 +0000 (15:07 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 15:07:28 +0000 (15:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13125 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/redhat/make-gosa-package | patch | blob | history |
index 5bc5add5dbe3afd0b617d147b485a113475a2de0..34c149a82adc3c6c7e285ce5ab38a4ad1260585f 100755 (executable)
fi
what=$1
+NOT_RELEASED="heimdal dak dfs glpi opsi apache2 ssh"
svn export https://oss.gonicus.de/repositories/gosa/$what/gosa-core
svn export https://oss.gonicus.de/repositories/gosa/$what/gosa-plugins
rpmbuild -bb /usr/src/redhat/SPECS/gosa.spec
+MAKE_PLUGINS=$(ls -1 gosa-plugins/*/plugin.dsc | sed 's/^.*\/\([^\/]*\)\/plugin.dsc$/\1/')
+for i in $NOT_RELEASED; do
+ MAKE_PLUGINS=$(echo -n $MAKE_PLUGINS | sed "s/$i//")
+done
+
cd gosa-plugins
-for plugin in *; do
+for plugin in $MAKE_PLUGINS; do
../gosa-core/redhat/rpm-make-gosa $plugin
rpmbuild -bb /usr/src/redhat/SPECS/gosa-plugin-$plugin.spec
done