On Feb 4, 2008 11:23 PM, Mike Hommey [off-list ref] wrote:
On Mon, Feb 04, 2008 at 09:59:21PM +0100, Lars Hjemli wrote:
quoted
- if ! test -d "$path"/.git
+ if ! test -e "$path"/.git
Is test -e supported by all shells we support ? I have some doubts...
I dunno, but we already use it two other places in git-submodule.
I guess we can rewrite it to something like
test -d $path || test -f $path || test -L $path || exist=0
if needed.
--
lh