]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Error code for not implemented functionality
authorKacper Kornet <draenog@pld-linux.org>
Mon, 21 Mar 2011 17:32:59 +0000 (17:32 +0000)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 21 Mar 2011 18:11:46 +0000 (18:11 +0000)
A this full functionality is not yet implemented so introduce code
error for it.

builder.sh

index b10918891e2f8b4ae39f9be4b4c6dc452d8f9afd..8e2171e98679d75ec437090142d695ac5699ffc3 100755 (executable)
@@ -17,6 +17,7 @@
 #        9 - Requested tag already exist
 #       10 - Refused to build fractional release
 #      100 - Unknown error (should not happen)
+#   110 - Functions not yet implemented
 
 # Notes (todo/bugs):
 # - when Icon: field is present, -5 and -a5 doesn't work
@@ -689,6 +690,10 @@ Exit_error() {
                        remove_build_requires
                        echo >&2 "Error: conditions reject building this spec (${2})."
                        exit 12 ;;
+               "err_not_implemented" )
+                       remov_build_requires
+                       echo >&2 "Error: functionality not yet imlemented"
+                       exit 110 ;;
        esac
        echo >&2 "Unknown error."
        exit 100
This page took 0.075513 seconds and 4 git commands to generate.