[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possibly quite a few bugs?



On Mon, Oct 02, 2000 at 04:46:26PM -0500, bounce-debian-devel=dan=debian.org@lists.debian.org wrote:

Please fix your email client :)  You don't seem to have a from address.

> A large number of maintainer scripts use a form of quoting in
> the event the script was called with unknown arguments
> 
> ( ie echo "postrm called with unknown argument \`$1'" >&2 )
> 
> However, those 'quotes' will cause any part of the script below
> that point to become 'quoted' and therefore not run. This becomes
> an issue when debhelper has inserted lines below here to remove
> documentation and symlinks and such. The end result is the docs
> are not deregistered with doc-base or the /usr/doc -> /usr/share/doc
> symlink is never broken properly leaving dangling symlinks.

What on earth is your /bin/sh?  In every shell I know of, ` has to be
singly escaped (as it is) inside of "", and ' does not have to be
escaped at all.

Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         dan@debian.org         |  |       dmj+@andrew.cmu.edu      |
\--------------------------------/  \--------------------------------/



Reply to: