summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-04-15 06:23:20 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-04-15 06:23:20 +0200
commit5403e7c67e6625df392da2438d02c70442fd1952 (patch)
tree988c327386789b1b9fefe7ba1cebed2c7a387b32 /update_scripts.sh
parentb1e22a960e2a6f39797e7d2022994df2176ad1e9 (diff)
parent0310b312a7e5dffcdf24ae835ed732f7a6a9c471 (diff)
downloadkernel-5403e7c67e6625df392da2438d02c70442fd1952.tar.gz
kernel-5403e7c67e6625df392da2438d02c70442fd1952.tar.xz
kernel-5403e7c67e6625df392da2438d02c70442fd1952.zip
blindly merge master, no adjustments to the new world order yet
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh6
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