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

13 lines
140 B
Bash
Raw Permalink Normal View History

2022-05-17 10:24:55 +00:00
#!/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