diff options
author | Jeremy Cline <jcline@redhat.com> | 2020-04-14 17:53:23 -0400 |
---|---|---|
committer | Jeremy Cline <jcline@redhat.com> | 2020-04-14 17:53:23 -0400 |
commit | 0310b312a7e5dffcdf24ae835ed732f7a6a9c471 (patch) | |
tree | ca12edc19a6f6e05ef31919d65adf895a39d12c0 /update_scripts.sh | |
parent | 48b75e92d6f4024e7f99442334f6969345516a72 (diff) | |
download | kernel-0310b312a7e5dffcdf24ae835ed732f7a6a9c471.tar.gz kernel-0310b312a7e5dffcdf24ae835ed732f7a6a9c471.tar.xz kernel-0310b312a7e5dffcdf24ae835ed732f7a6a9c471.zip |
kernel-5.7.0-0.rc1.20200414git8632e9b5645b.1
This is an automated commit generated from the
kernel-5.7.0-0.rc1.20200414git8632e9b5645b.1 tag in
https://gitlab.com/cki-project/kernel-ark.git
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-x | update_scripts.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update_scripts.sh b/update_scripts.sh index 7cacfb6c1..77d795287 100755 --- a/update_scripts.sh +++ b/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//") - cp $i $NEW + NEW=`echo $i | sed s/.$TARGET//` + mv $i $NEW done |