kernel-rt/SOURCES/update_scripts.sh
2021-12-09 15:55:49 +00:00

13 lines
140 B
Bash
Executable File

#!/bin/sh
if [ -z "$1" ]; then
exit 1
fi
TARGET="$1"
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
NEW=${i%.$TARGET}
cp "$i" "$NEW"
done