print yum.__version__ instead of executing "yum --version" which is very heavyweighte...
[util-vserver.git] / scripts / vserver-build.yum
index 8fccd40..4409927 100644 (file)
@@ -27,7 +27,7 @@ while true; do
        (-d)            DISTRIBUTION=$2; shift;;
        (--debug)       set -x;;
        (--)            shift; break ;;
-       (*)             echo "vserver-build.yum-rpm: internal error: unrecognized option '$1'" >&2
+       (*)             echo "vserver-build.yum: internal error: unrecognized option '$1'" >&2
                        exit 1
                        ;;
     esac