summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-03-05 10:03:27 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-03-05 10:03:27 -0600
commit3422e04a2e31dba3e17af206f160d4fc409f4250 (patch)
treeef03b0b60e236af96331d0ddb83208bb40bcf9f0 /update_scripts.sh
parent7a64d107da5cd0ea8bad9200ebcd37146324361f (diff)
downloadkernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.gz
kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.xz
kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.zip
kernel-5.11.3-50
* Fri Mar 05 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.3-50] - PCI: Add MCFG quirks for Tegra194 host controllers (Vidya Sagar) - Revert "PCI: Add MCFG quirks for Tegra194 host controllers" (Peter Robinson) - forgot to push this one earlier (Justin M. Forbes) - Reference the patch as version.patchlevel to more easily see diffs between stable releases (Justin M. Forbes) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh12
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