summaryrefslogtreecommitdiff
path: root/SOURCES/update_scripts.sh
diff options
context:
space:
mode:
authorSentry <sentry@Sentry-Desktop-Fedora.local>2020-07-14 15:58:43 +0200
committerJan200101 <sentrycraft123@gmail.com>2020-12-05 19:40:07 +0100
commit391fe055c943e33e9c191dbeeb21995c0d54ccd9 (patch)
tree04bbfbe91a73cc0d47c2d70235c8ca365eaa9c3d /SOURCES/update_scripts.sh
downloadkernel-fsync-391fe055c943e33e9c191dbeeb21995c0d54ccd9.tar.gz
kernel-fsync-391fe055c943e33e9c191dbeeb21995c0d54ccd9.zip
kernel 5.7.8
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-xSOURCES/update_scripts.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh
new file mode 100755
index 0000000..7cacfb6
--- /dev/null
+++ b/SOURCES/update_scripts.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ -z $1 ]; then
+ exit 1
+fi
+
+TARGET=$1
+
+for i in $RPM_SOURCE_DIR/*.$TARGET; do
+ NEW=$(echo $i | sed -e "s/\.$TARGET//")
+ cp $i $NEW
+done