summaryrefslogtreecommitdiff
path: root/SOURCES/update_scripts.sh
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-19 13:01:40 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-19 13:01:40 +0200
commit3447319683cbc4d1dac74960bae754f433b8cb5e (patch)
tree1d574590602b6e71f75907a1dc99f9de058e4c2f /SOURCES/update_scripts.sh
parent1be20ec5b90504f195f19d6717bd19a6e154dcce (diff)
downloadkernel-fsync-3447319683cbc4d1dac74960bae754f433b8cb5e.tar.gz
kernel-fsync-3447319683cbc4d1dac74960bae754f433b8cb5e.zip
kernel 5.18.4
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-xSOURCES/update_scripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh
index 9196e79..38e6634 100755
--- a/SOURCES/update_scripts.sh
+++ b/SOURCES/update_scripts.sh
@@ -8,5 +8,5 @@ TARGET="$1"
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
NEW=${i%.$TARGET}
- cp "$i" "$NEW"
+ cp "$i" "$(basename "$NEW")"
done