diff options
author | NeilBrown <neilb@suse.de> | 2013-09-03 06:16:22 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-03 06:47:47 +0200 |
commit | 6f02172d2e9cbef03da07a16c9fffe46062d09e6 (patch) | |
tree | 6adf28e1bb9c25830133d2d251654dedb259d550 /makedist | |
parent | config: support MDADM_CONF_AUTO= env var. (diff) | |
download | mdadm-6f02172d2e9cbef03da07a16c9fffe46062d09e6.tar.xz mdadm-6f02172d2e9cbef03da07a16c9fffe46062d09e6.zip |
Release mdadm-3.3mdadm-3.3
(and various cosmetic fixes)
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'makedist')
-rwxr-xr-x | makedist | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -15,7 +15,7 @@ else echo $target is not a directory exit 2 fi set `grep '^#define VERSION' ReadMe.c ` -version=`echo $7 | sed -e 's/"//g'` +version=`echo $3 | sed -e 's/"//g'` grep "^.TH MDADM 8 .. v$version" mdadm.8.in > /dev/null 2>&1 || { echo mdadm.8.in does not mention version $version. @@ -47,8 +47,8 @@ echo version = $version base=mdadm-$version.tar.gz if [ " $arg" != " diff" ] then - if [ -f $target/$base ] - then + if [ -f $target/$base ] + then echo $target/$base exists. exit 1 fi @@ -83,14 +83,14 @@ then fi fi else - if [ ! -f $target/$base ] - then + if [ ! -f $target/$base ] + then echo $target/$base does not exist. exit 1 fi ( cd .. ; ln -s mdadm.v2 mdadm-$version ; tar chf - --exclude=.git --exclude="TAGS" --exclude='*,v' --exclude='*~' --exclude='*.o' --exclude mdadm --exclude=mdadm'.[^ch0-9]' --exclude=RCS mdadm-$version ; rm mdadm-$version ) | gzip --best > /var/tmp/mdadm-new.tgz mkdir /var/tmp/mdadm-old ; zcat $target/$base | ( cd /var/tmp/mdadm-old ; tar xf - ) mkdir /var/tmp/mdadm-new ; zcat /var/tmp/mdadm-new.tgz | ( cd /var/tmp/mdadm-new ; tar xf - ) - diff -ru /var/tmp/mdadm-old /var/tmp/mdadm-new + diff -ru /var/tmp/mdadm-old /var/tmp/mdadm-new rm -rf /var/tmp/mdadm-old /var/tmp/mdadm-new /var/tmp/mdadm-new.tgz fi |