From: Andreas Schneider Date: Wed, 19 Jun 2024 09:50:26 +0000 (+0200) Subject: packaging: Add missing quotes in smbprint X-Git-Tag: tdb-1.4.11~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb81b0c3138d6cb89cd88ce494c60acd7c2cc7f;p=thirdparty%2Fsamba.git packaging: Add missing quotes in smbprint Found by Covscan. "Error: SHELLCHECK_WARNING (CWE-569): /usr/bin/smbprint:49:21: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it. 47| # Concat this with /.config to get the config file. 48| # 49|-> eval acct_file=\${$#} 50| spool_dir=$(dirname $acct_file) 51| config_file=$spool_dir/.config" Signed-off-by: Andreas Schneider Reviewed-by: Signed-off-by: Martin Schwenke Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Mon Jun 24 07:14:54 UTC 2024 on atb-devel-224 --- diff --git a/packaging/printing/smbprint b/packaging/printing/smbprint index a21385aa25c..5439207c041 100644 --- a/packaging/printing/smbprint +++ b/packaging/printing/smbprint @@ -46,7 +46,7 @@ # Extract the directory name from the file name. # Concat this with /.config to get the config file. # -eval acct_file=\${$#} +eval acct_file="\${$#}" spool_dir=$(dirname $acct_file) config_file=$spool_dir/.config