diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2019-12-19 12:47:36 -0600 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2019-12-19 12:47:36 -0600 |
commit | 3c560c6bd0fe1c6561acf5e95454dae04662a42b (patch) | |
tree | 0197d5d24f75f925a965764736b987b6ae5a712a /update_scripts.sh | |
parent | 86e67ee11e59287bedf3e8373238a4b7fbbe823e (diff) | |
download | kernel-3c560c6bd0fe1c6561acf5e95454dae04662a42b.tar.gz kernel-3c560c6bd0fe1c6561acf5e95454dae04662a42b.tar.xz kernel-3c560c6bd0fe1c6561acf5e95454dae04662a42b.zip |
Linux v5.4.5 rebase
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-x | update_scripts.sh | 12 |
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 |