diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-17 12:44:57 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-17 12:44:57 -0500 |
commit | c7a5157d4de03982fcd2e3cd1f035858153ab349 (patch) | |
tree | 668203ddf31d69847944bd024141f0df51734f08 /update_scripts.sh | |
parent | f1ef1f7f32c9a1eaf82dff51b2cc209b712a6b01 (diff) | |
download | kernel-c7a5157d4de03982fcd2e3cd1f035858153ab349.tar.gz kernel-c7a5157d4de03982fcd2e3cd1f035858153ab349.tar.xz kernel-c7a5157d4de03982fcd2e3cd1f035858153ab349.zip |
kernel-5.11.7-9
* Wed Mar 17 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.7-9]
- Disable weak-modules again rhbz 1828455 (Justin M. Forbes)
- More config updates for gcc-plugin turn off (Justin M. Forbes)
- fedora: the PCH_CAN driver is x86-32 only (Peter Robinson)
- common: disable legacy CAN device support (Peter Robinson)
- common: Enable Microchip MCP251x/MCP251xFD CAN controllers (Peter Robinson)
- common: Bosch MCAN support for Intel Elkhart Lake (Peter Robinson)
- common: enable CAN_PEAK_PCIEFD PCI-E driver (Peter Robinson)
- common: disable CAN_PEAK_PCIEC PCAN-ExpressCard (Peter Robinson)
- common: enable common CAN layer 2 protocols (Peter Robinson)
- ark: disable CAN_LEDS option (Peter Robinson)
Resolves: rhbz#
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-x | update_scripts.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/update_scripts.sh b/update_scripts.sh index 7cacfb6c1..9196e795a 100755 --- a/update_scripts.sh +++ b/update_scripts.sh @@ -1,12 +1,12 @@ -#!/bin/bash +#!/bin/sh -if [ -z $1 ]; then +if [ -z "$1" ]; then exit 1 fi -TARGET=$1 +TARGET="$1" -for i in $RPM_SOURCE_DIR/*.$TARGET; do - NEW=$(echo $i | sed -e "s/\.$TARGET//") - cp $i $NEW +for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do + NEW=${i%.$TARGET} + cp "$i" "$NEW" done |