Skip to content

Commit cfb81b0

Browse files
committed
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 <[email protected]> Reviewed-by: Signed-off-by: Martin Schwenke <[email protected]> Autobuild-User(master): Andreas Schneider <[email protected]> Autobuild-Date(master): Mon Jun 24 07:14:54 UTC 2024 on atb-devel-224
1 parent b57bdda commit cfb81b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/printing/smbprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# Extract the directory name from the file name.
4747
# Concat this with /.config to get the config file.
4848
#
49-
eval acct_file=\${$#}
49+
eval acct_file="\${$#}"
5050
spool_dir=$(dirname $acct_file)
5151
config_file=$spool_dir/.config
5252

0 commit comments

Comments
 (0)