xbps-src: verify_rundeps: if revision has been modified, export it.
This commit is contained in:
parent
59ca05ac3d
commit
cb1d5fbc43
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue