diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-09-22 06:20:53 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-09-22 06:20:53 +0200 |
commit | 1a7e53d476539a72aa1a634700398e77842f30c9 (patch) | |
tree | 7a48021c0ac6d62e61a9c50ec22c6b6652b716cc /update_scripts.sh | |
parent | 6baf25fc235c4993f8fc55815e6abb9755310240 (diff) | |
parent | abdc294d6d5c88f1ea905ee192686261e47a473a (diff) | |
download | kernel-1a7e53d476539a72aa1a634700398e77842f30c9.tar.gz kernel-1a7e53d476539a72aa1a634700398e77842f30c9.tar.xz kernel-1a7e53d476539a72aa1a634700398e77842f30c9.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.9.0-0.rc6.13.vanilla.1.fc34kernel-5.9.0-0.rc6.13.vanilla.1.fc33kernel-5.9.0-0.rc6.13.vanilla.1.fc32kernel-5.9.0-0.rc6.13.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 5c3dbaeb9..9196e795a 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 |