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

Re: Claiming a binary name used in Sarge but not in Etch.



Le Sat, Mar 10, 2007 at 09:09:23AM -0500, Justin Pryzby a écrit :

> A NEWS entry isn't unreasonable.  Supporting the old binary might be
> nice; a wrapper with a warning rather than a symlink is extra friendly.
> Be sure to use "exec" as the last line of a wrapper script to remove
> unnecessary memory footprint.

Hi,

something like this ?

#!/bin/sh
echo -e "AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future."
exec /usr/bin/amap "$@"

I am just wondering if the quotes around $@ are necessary...

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan



Reply to: