1
0
forked from rpms/kernel
kernel/SOURCES/update_scripts.sh
2024-03-26 09:40:33 +00:00

13 lines
156 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" "$(basename "$NEW")"
done