[ovs-dev] [PATCH] ovs-save: Do not depend on hardcoded set of $PATH for utilities.

Ben Pfaff blp at nicira.com
Mon Aug 26 19:49:13 UTC 2013


On Mon, Aug 26, 2013 at 12:45:33PM -0700, Gurucharan Shetty wrote:
> On Mon, Aug 26, 2013 at 11:29 AM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > On Mon, Aug 26, 2013 at 10:48:30AM -0700, Gurucharan Shetty wrote:
> > > Reported-by: Jian Qiu <swordqiu at gmail.com>
> > > Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
> >
> > Scripts of this kind don't traditionally rely on "which".  I am not
> > sure why--maybe it is only for historical reasons.  I do see that
> > POSIX does not specify "which"; maybe some systems do not have it.
> >
> I wasn't sure what to do about iptables-save as it does not have a
> --version option.
> I am running this command twice in V2. Once to check if it exists and the
> second time to actually get its o/p.

Good enough.  Thanks!



More information about the dev mailing list