SHA256
1
0
forked from pool/file
file/pre_checkin.sh

8 lines
211 B
Bash
Raw Normal View History

#!/bin/bash
# This script is called automatically during autobuild checkin.
version=$(grep '^Version:.*' file.spec)
cp -f file.changes python-magic.changes
sed -i -e "s,Version:.*,$version," python-magic.spec