diff --git a/examples/printing/smbprint b/examples/printing/smbprint index a80d60ce4fa..079f20aac41 100755 --- a/examples/printing/smbprint +++ b/examples/printing/smbprint @@ -53,7 +53,7 @@ logfile=/tmp/smb-print.log # 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