summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-07 17:21:05 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-07 17:21:05 +0000
commit79f0c550d2cbaf9ed815f4bf923f054063388a9c (patch)
treedbe2cce21199a83bd1f93190c1cea4370a13c4fe /examples
parent29604e0ebfe0de97e669452ad1a8bf948a64777c (diff)
downloadsamba-79f0c550d2cbaf9ed815f4bf923f054063388a9c.tar.gz
Added fix (lost contributor, sorry) for more than 10 parameters.
jra@cygnus.com
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/printing/smbprint2
1 files changed, 1 insertions, 1 deletions
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