kernel/update_scripts.sh
Herton R. Krzesinski 31c1ab6192 kernel-5.10.0-0.rc6.92
* Fri Dec 04 2020 Herton R. Krzesinski <herton@redhat.com> [5.10.0-0.rc6.92]
- v5.10-rc6 rebase
Resolves: rhbz#1903802

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2020-12-04 15:24:35 -05: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