iproute2/pre_checkin.sh

13 lines
256 B
Bash
Raw Normal View History

#!/bin/bash
echo -n "Generating iproute2-doc.spec/changes "
cp iproute2.changes iproute2-doc.changes
sed -i -e "s/\(Version:\).*/\1$(sed -n 's/Version:\(.*\)/\1/p' iproute2.spec)/" iproute2-doc.spec
osc service localrun format_spec_file
echo "Done."