summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-12-19 20:10:18 +0000
committerJeremy Katz <katzj@redhat.com>2003-12-19 20:10:18 +0000
commit58b7ee5ce953cef9e6547a551086cf4e6bc9fab5 (patch)
tree752ff6fdc013e67ce2e2aad23898000c2b17095a
parent21a2cdf62adb1065a97ca9872adac36104c2de3a (diff)
downloadanaconda-58b7ee5ce953cef9e6547a551086cf4e6bc9fab5.tar.gz
anaconda-58b7ee5ce953cef9e6547a551086cf4e6bc9fab5.tar.xz
anaconda-58b7ee5ce953cef9e6547a551086cf4e6bc9fab5.zip
require --version (#112416)
-rwxr-xr-xscripts/buildinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index bb72ed39f..b4b767abf 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -68,7 +68,7 @@ if [ -z "$PRODUCTSTR" ]; then
fi
if [ -z "$VERSION" ]; then
- VERSION=$(rpm --qf '%{VERSION}' -qp $DIR/$PRODUCTPATH/RPMS/redhat-release-*.rpm)
+ usage
fi
if [ -z "$DIR" ]; then