summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
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