summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-12-14 09:02:23 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-12-14 09:02:23 -0600
commit952ed53b8dc02307ae140982548522d049e0bca5 (patch)
treedce1f55251f5deb95f6f4a53be4d5e3f11c36a9a /update_scripts.sh
parent39cafd66089878f3d0d997260f1d0b1ede356e0d (diff)
downloadkernel-952ed53b8dc02307ae140982548522d049e0bca5.tar.gz
kernel-952ed53b8dc02307ae140982548522d049e0bca5.tar.xz
kernel-952ed53b8dc02307ae140982548522d049e0bca5.zip
kernel-5.10.0-98
* Mon Dec 14 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.10.0-98] - Add missing '$' sign to (GIT) in redhat/Makefile (Augusto Caringi) 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