xbps-src: verify_rundeps: if revision has been modified, export it.

This commit is contained in:
Juan RP 2011-11-12 12:46:05 +01:00
parent 59ca05ac3d
commit cb1d5fbc43

View File

@ -193,11 +193,13 @@ verify_rundeps()
newrev=$((${_rev#revision=} + 1))
if [ -z "$revbumped" ]; then
sed -i "s/^revision=.*$/revision=${newrev}/" $tmplf
export revision=${newrev}
revbumped=1
fi
else
if [ -z "$revbumped" ]; then
sed -i "/^short_desc=.*$/irevision=1" $tmplf
export revision=${newrev}
revbumped=1
fi
fi