diff options
Diffstat (limited to 'makedist')
-rwxr-xr-x | makedist | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -8,6 +8,11 @@ else echo $target is not a directory fi set `grep '^char Version' ReadMe.c ` version=`echo $7 | sed 's/v//'` +grep "^Version: $version$" mdadm.spec > /dev/null 2>&1 || + { + echo mdadm.conf does not mention version $version. + exit 1 + } echo version = $version base=mdadm-$version.tgz if [ -f $target/$base ] |