mirror of
https://github.com/samba-team/samba.git
synced 2024-12-21 09:34:19 +03:00
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 <asn@samba.org> Reviewed-by: Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jun 24 07:14:54 UTC 2024 on atb-devel-224
This commit is contained in:
parent
b57bddacd7
commit
cfb81b0c31
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user