summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-rpm-package')
-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