summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2022-06-15 06:28:12 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2022-06-15 06:28:12 +0200
commit7b033d24cc90ad263719703849c74598f9a4438d (patch)
treefee3825692f640c08ea4794630364e32a4a4d010 /update_scripts.sh
parent001964bcfca377ac1366785381852d6f5c847d24 (diff)
parentdc90062fcc26c60cf7ccd73529503e73fb9c408b (diff)
downloadkernel-7b033d24cc90ad263719703849c74598f9a4438d.tar.gz
kernel-7b033d24cc90ad263719703849c74598f9a4438d.tar.xz
kernel-7b033d24cc90ad263719703849c74598f9a4438d.zip
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_scripts.sh b/update_scripts.sh
index 9196e795a..38e66347f 100755
--- a/update_scripts.sh
+++ b/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