update-smart-drivedb.in: Don't use 'let' which is bash specific.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5358 4ea69e1a-61f1-4043-bf83-b5c94c648137
This commit is contained in:
chrfranke 2022-04-24 15:05:34 +00:00
parent 63b4a5e15e
commit f89ee7ad0f
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@ $Id$
2022-04-24 Christian Franke <franke@computer.org>
update-smart-drivedb.in: Don't use 'let' which is bash specific.
update-smart-drivedb.in: Don't use semicolon in sed scripts.
This also fixes a syntax error if sed requires ';' before '}'.

View File

@ -527,7 +527,7 @@ gpg_verify()
# Remove temp home dir, retry on failure
i=0
while ! out=`rm -f -r "$gnupgtmp" 2>&1`; do
let ++i
i=$((i+1))
if [ $i -ge 10 ]; then
echo "$out" >&2; break
fi