summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-11-05 17:10:53 -0500
committerLaura Abbott <labbott@redhat.com>2019-11-13 10:01:45 -0500
commitd0a82f1e0fa60ffedb672422bf6779de24b8bd11 (patch)
treeef4df0935f910cacd97c28059d776a60bebc4198 /update_scripts.sh
parentc96dd52bfc079b0e0f7a5262e844b867636f787e (diff)
downloadkernel-d0a82f1e0fa60ffedb672422bf6779de24b8bd11.tar.gz
kernel-d0a82f1e0fa60ffedb672422bf6779de24b8bd11.tar.xz
kernel-d0a82f1e0fa60ffedb672422bf6779de24b8bd11.zip
Sync up on adding a bunch of files
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/update_scripts.sh b/update_scripts.sh
new file mode 100755
index 000000000..7cacfb6c1
--- /dev/null
+++ b/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