kernel/update_scripts.sh
2019-11-13 10:01:45 -05:00

13 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