summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-01 22:13:38 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-01 22:13:38 +0200
commit74ab72ba21a4bb026b91637fd91ef20edef750a0 (patch)
treef4d83deecb8c546b797e3dbc4c4c0c705a02ffcb /update_scripts.sh
parent9097b7b287480e96d570cb9a344eab15587c4508 (diff)
parentf0c9dd0c81745d7c1600ecc6ce3d20ba89c2f56e (diff)
downloadkernel-74ab72ba21a4bb026b91637fd91ef20edef750a0.tar.gz
kernel-74ab72ba21a4bb026b91637fd91ef20edef750a0.tar.xz
kernel-74ab72ba21a4bb026b91637fd91ef20edef750a0.zip
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.7.0-1.vanilla.1.fc33kernel-5.7.0-1.vanilla.1.fc32kernel-5.7.0-1.vanilla.1.fc31
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 bbfd6f11f..5c3dbaeb9 100755
--- a/update_scripts.sh
+++ b/update_scripts.sh
@@ -7,6 +7,6 @@ fi
TARGET=$1
for i in $RPM_SOURCE_DIR/*.$TARGET; do
- NEW=`echo $i | sed s/.$TARGET//`
+ NEW=${i%.$TARGET}
cp $i $NEW
done