[X2Go-Commits] [buildscripts] 06/14: bin/build-rpm-package: add comments for some functions.
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 3 03:07:47 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit d0182496e6070323209e13a86e65405a2ac29e58
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Apr 3 02:43:30 2015 +0200
bin/build-rpm-package: add comments for some functions.
---
bin/build-rpm-package | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 093368d..4cf2652 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -534,6 +534,9 @@ prepare_workspace() {
return 0
}
+# Cleans up the pkgdist directory used for building packages.
+# Does not take parameters.
+# Does not "return" anything.
clear_pkgdist() {
# pkgdist directory cleanup
echo "${RPM_BUILD_FOR}" | sed -e 's/ /\n/g' | while read line; do
@@ -822,6 +825,9 @@ build_packages() {
return 0
}
+# Uploads the build packages.
+# Has no parameters.
+# Does not "return" any value.
upload_packages() {
# dupload the new packages to the reprepro repository
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list