diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-12-17 19:08:51 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-12-17 19:08:51 +0100 |
commit | acca02816b0349c6fa7be1c91d7f78ff7053be32 (patch) | |
tree | 0e519c74550b77d52993ee0e1f95df5056111b1d /update_scripts.sh | |
parent | 4bf9c3c1a4fb88ec0560ba20c3644a847bdf6064 (diff) | |
parent | 14694918cd7fac2032134b57250efa8c9ef9d830 (diff) | |
download | kernel-acca02816b0349c6fa7be1c91d7f78ff7053be32.tar.gz kernel-acca02816b0349c6fa7be1c91d7f78ff7053be32.tar.xz kernel-acca02816b0349c6fa7be1c91d7f78ff7053be32.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedorakernel-5.11.0-0.rc0.20201217gite994cc240a3b.102.vanilla.1.fc32
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 |