summaryrefslogtreecommitdiff
path: root/SOURCES/update_scripts.sh
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-03-21 13:18:24 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-03-21 13:18:24 +0100
commit0d03bbfed690ac4a025e90346a673b8607742122 (patch)
tree27a7d9904a5e5409c7efadf64e5c126946bc5bf2 /SOURCES/update_scripts.sh
parentd6d4fd75919f9e864611d09547f97e7136e1b22d (diff)
downloadkernel-fsync-0d03bbfed690ac4a025e90346a673b8607742122.tar.gz
kernel-fsync-0d03bbfed690ac4a025e90346a673b8607742122.zip
kernel 5.11.7
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-xSOURCES/update_scripts.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh
index 5c3dbae..9196e79 100755
--- a/SOURCES/update_scripts.sh
+++ b/SOURCES/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