Added fix (lost contributor, sorry) for more than 10 parameters.
authorSamba Release Account <samba-bugs@samba.org>
Fri, 7 Mar 1997 17:21:05 +0000 (17:21 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Fri, 7 Mar 1997 17:21:05 +0000 (17:21 +0000)
jra@cygnus.com
(This used to be commit 79f0c550d2cbaf9ed815f4bf923f054063388a9c)

examples/printing/smbprint

index a80d60ce4fa16f8f7545483cb504b4682f27f3ff..079f20aac4126bda15bddc4aac2326861941d971 100755 (executable)
@@ -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