diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-11-03 17:22:33 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-05 19:40:07 +0100 |
commit | 341c2b7474ae9534963c9001cae5b8e6ecefe0f2 (patch) | |
tree | de02864eb15585e56915d9e9c987c3675fa4f4ff /SOURCES/update_scripts.sh | |
parent | 7fa28673e01cd07016a83be8169a0bd46ba63a04 (diff) | |
download | kernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.tar.gz kernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.zip |
kernel 5.8.17
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-x | SOURCES/update_scripts.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh index 7cacfb6..5c3dbae 100755 --- a/SOURCES/update_scripts.sh +++ b/SOURCES/update_scripts.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ -z $1 ]; then exit 1 @@ -7,6 +7,6 @@ fi TARGET=$1 for i in $RPM_SOURCE_DIR/*.$TARGET; do - NEW=$(echo $i | sed -e "s/\.$TARGET//") + NEW=${i%.$TARGET} cp $i $NEW done |