diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-09-25 19:30:11 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-09-25 19:30:11 +0200 |
commit | 340674e314ee00dc5deedaafb6c5864dde7175e1 (patch) | |
tree | fddc7b71fe46a1521302d22c975c26e176434e50 /update_scripts.sh | |
parent | 8902ed8b46ac6eefbd12651ff8ae9bb98bf3a78d (diff) | |
parent | 4f4dcd74d337b985a8ddb9c24392095bf0075a7f (diff) | |
download | kernel-340674e314ee00dc5deedaafb6c5864dde7175e1.tar.gz kernel-340674e314ee00dc5deedaafb6c5864dde7175e1.tar.xz kernel-340674e314ee00dc5deedaafb6c5864dde7175e1.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.9.0-0.rc6.20200925git171d4ff79f96.17.vanilla.1.fc34kernel-5.9.0-0.rc6.20200925git171d4ff79f96.17.vanilla.1.fc33kernel-5.9.0-0.rc6.20200925git171d4ff79f96.17.vanilla.1.fc32kernel-5.9.0-0.rc6.20200925git171d4ff79f96.17.vanilla.1.fc31
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-x | update_scripts.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/update_scripts.sh b/update_scripts.sh index 9196e795a..5c3dbaeb9 100755 --- a/update_scripts.sh +++ b/update_scripts.sh @@ -1,12 +1,12 @@ #!/bin/sh -if [ -z "$1" ]; then +if [ -z $1 ]; then exit 1 fi -TARGET="$1" +TARGET=$1 -for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do +for i in $RPM_SOURCE_DIR/*.$TARGET; do NEW=${i%.$TARGET} - cp "$i" "$NEW" + cp $i $NEW done |