summaryrefslogtreecommitdiff
path: root/examples/printing
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
commit3e88439de037e81b9aaa1d043990ff08b88cd023 (patch)
tree17180f7bb9fdd1ae23b3251b3f054939be4ee1e3 /examples/printing
parent5d6fbd18758cedf9c95943d4633cf61eaffb46c3 (diff)
downloadsamba-3e88439de037e81b9aaa1d043990ff08b88cd023.tar.gz
samba-3e88439de037e81b9aaa1d043990ff08b88cd023.tar.bz2
samba-3e88439de037e81b9aaa1d043990ff08b88cd023.zip
Added fix (lost contributor, sorry) for more than 10 parameters.
jra@cygnus.com (This used to be commit 79f0c550d2cbaf9ed815f4bf923f054063388a9c)
Diffstat (limited to 'examples/printing')
-rwxr-xr-xexamples/printing/smbprint2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/printing/smbprint b/examples/printing/smbprint
index a80d60ce4f..079f20aac4 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