attempt to fix build/version.txt in bootcd image
[bootcd.git] / prep.sh
diff --git a/prep.sh b/prep.sh
index 3b75b56..ba985b9 100755 (executable)
--- a/prep.sh
+++ b/prep.sh
@@ -39,7 +39,7 @@ bootcd=$PWD/build/bootcd
 install -d -m 755 $bootcd
 
 # Write version number
-rpmquery --specfile bootcd.spec --queryformat '%{VERSION}\n' | head -1 > build/version.txt
+rpm -q --specfile bootcd.spec --queryformat '%{VERSION}\n' | head -1 > build/version.txt
 echo $nodefamily > build/nodefamily
 
 # Install base system