
2 May
2012
2 May
'12
11:34 a.m.
On 2012-05-02 21:25, Trent W. Buck wrote:
Matthew Cengia wrote:
* I'm not sure of your overall goal, but based on what I've seen, I think you're going about this the wrong way:
cpan2rpm() { command cpan2rpm --debug \ --make-maker=--make-maker="INSTALLDIRS=vendor INSTALLMAN1DIR=none \ INSTALLMAN3DIR=none" --no-sign $@; }
That should be "$@" not $@.
Ah yes, oops. Thanks for that.
From past experience with coworkers, that should probably be
obviously_not_foo () { command foo -x -y -z "$@"; }
because they are prone to missing the function at the top of the script and wonder why foo is working further down, when half its arguments are missing.
That too. -- Regards, Matthew Cengia