Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> BTW, this line (with "-t" after mv") ought to do the same as
> mv $path/* /usr/lib/ghc-doc/haddock/
> without failing when $path is empty. Is there a nicer way than find and
> xargs?

Use bash and set -o nullglob, perhaps.  You'd have to faff about a bit
because mv won't like an empty argument list.

Ian.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to