summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-09-21 09:22:48 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-09-21 09:22:48 -0500
commitd328de94fd5b251711f0d3b4e23733eb5fe76e88 (patch)
treeb7daf1801e112aa4464cecc067fd72ecb6093c23 /update_scripts.sh
parent0433fb292b371a0aa721adf20b5999c6d0233f49 (diff)
downloadkernel-d328de94fd5b251711f0d3b4e23733eb5fe76e88.tar.gz
kernel-d328de94fd5b251711f0d3b4e23733eb5fe76e88.tar.xz
kernel-d328de94fd5b251711f0d3b4e23733eb5fe76e88.zip
kernel-5.9.0-0.rc6.12
* Mon Sep 21 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.12] - Merge ark-patches Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/update_scripts.sh b/update_scripts.sh
index 5c3dbaeb9..9196e795a 100755
--- a/update_scripts.sh
+++ b/update_scripts.sh
@@ -1,12 +1,12 @@
#!/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
+for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
NEW=${i%.$TARGET}
- cp $i $NEW
+ cp "$i" "$NEW"
done