From: Thierry Parmentelat Date: Mon, 22 Apr 2013 13:06:53 +0000 (+0200) Subject: attempt to fix build/version.txt in bootcd image X-Git-Tag: bootcd-5.2-2~3 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=5db77cd2ee7f704b733091b223844d5b6b55dc9c attempt to fix build/version.txt in bootcd image --- diff --git a/prep.sh b/prep.sh index 3b75b56..ba985b9 100755 --- 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