Package: doc-base
Version: 0.7.18-0.1
Severity: minor
Tags: patch

Hello,
postinst currently contains:
  files=`find /usr/lib/menu/ -name 'doc-base-*' -type f -maxdepth 1`

With recent versions of findutils (i.e. currently experimental, after
sarge's release sid) this will trigger the following warning message
(if connected to a tty):

| find: warning: you have specified the -maxdepth option after a
| non-option argument -name, but options are not positional (-maxdepth
| affects tests specified before it as well as those specified after
| it). Please specify options before other arguments.

(I guess the message is self-explaining.) This patch will get rid of
the warning:

-files=`find /usr/lib/menu/ -name 'doc-base-*' -type f -maxdepth 1`
+files=`find /usr/lib/menu/ -maxdepth 1 -name 'doc-base-*' -type f`

               thanks, cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to