summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildinstall')
-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