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

11 lines
394 B
Bash

#!/bin/bash
# This script has to be run prior to a check-in if changes were done
# to spec and/or changes
sed -e "s,^\(Name:.*mvapich2\),\1-testsuite," mvapich2.spec > mvapich2-testsuite.spec
sed -e "s,^\(Name:.*mvapich2\),\1-psm," mvapich2.spec > mvapich2-psm.spec
cp mvapich2.changes mvapich2-testsuite.changes
cp mvapich2.changes mvapich2-psm.changes
osc service localrun format_spec_file