From: | Mike Frysinger <vapier@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] dont use `which` in ebuilds | ||
Date: | Tue, 13 Mar 2007 17:20:03 | ||
Message-Id: | 200703131312.48876.vapier@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] dont use `which` in ebuilds by Matthias Schwarzott |
1 | On Tuesday 13 March 2007, Matthias Schwarzott wrote: |
2 | > The scripts installed by these ebuilds also use which: |
3 | > sys-kernel/module-rebuild: |
4 | |
5 | that's a different issue ... this is a Linux-only package, so it can "safely" |
6 | depend on the behavior of the which app that is installed onto our Linux |
7 | hosts |
8 | |
9 | so if its scripts are !/bin/sh, then it should use which ... but if its |
10 | scripts are !/bin/bash, then either is OK |
11 | -mike |