1
0
forked from rpms/kernel
kernel/SOURCES/update_scripts.sh

13 lines
154 B
Bash
Raw Normal View History

2021-11-04 01:36:31 +00:00
#!/bin/sh
if [ -z "$1" ]; then
exit 1
fi
TARGET="$1"
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
NEW=${i%.$TARGET}
2023-03-28 09:07:44 +00:00
cp "$i" "$(basename "$NEW")"
2021-11-04 01:36:31 +00:00
done