diff options
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-x | update_scripts.sh | 2 |
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 |