summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-09-25 12:04:33 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-09-25 12:04:33 -0500
commit4f4dcd74d337b985a8ddb9c24392095bf0075a7f (patch)
tree172ec26124418a7e1c90ff2d8991c878cdefb201 /update_scripts.sh
parentbb2a3806f51665b6d5649e3d66cac6e9d770a25d (diff)
downloadkernel-4f4dcd74d337b985a8ddb9c24392095bf0075a7f.tar.gz
kernel-4f4dcd74d337b985a8ddb9c24392095bf0075a7f.tar.xz
kernel-4f4dcd74d337b985a8ddb9c24392095bf0075a7f.zip
kernel-5.9.0-0.rc6.20200925git171d4ff79f96.16
* Fri Sep 25 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.20200925git171d4ff79f96.16] - 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 9196e795a..5c3dbaeb9 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