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 debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/19963.27536.972193.484...@chiark.greenend.org.uk