summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-03 02:43:30 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-03 02:43:30 +0200
commitd0182496e6070323209e13a86e65405a2ac29e58 (patch)
tree3670ab0801351c152a2d47eff8050b6b92067f8c
parent95090fd6c77113ed17354034d93af145fedc1736 (diff)
downloadbuildscripts-d0182496e6070323209e13a86e65405a2ac29e58.tar.gz
buildscripts-d0182496e6070323209e13a86e65405a2ac29e58.tar.bz2
buildscripts-d0182496e6070323209e13a86e65405a2ac29e58.zip
bin/build-rpm-package: add comments for some functions.
-rwxr-xr-xbin/build-rpm-package6
1 files changed, 6 insertions, 0 deletions
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