kernel/update_scripts.sh
Jeremy Cline cce01a3bcf Sync up specfile, config generation, and patches
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-12-04 16:45:42 -05:00

12 lines
152 B
Bash
Executable file

#!/bin/bash
if [ -z $1 ]; then
exit 1
fi
TARGET=$1
for i in $RPM_SOURCE_DIR/*.$TARGET; do
NEW=$(echo $i | sed -e "s/\.$TARGET//")
cp $i $NEW
done