On Fri, Apr 6, 2012 at 11:19 PM, Jeff King <peff@xxxxxxxx> wrote: > I think you need to start with something like: > > #!/bin/sh > > if ! type bash; then > echo '1..0 # SKIP skipping bash tests, bash not available' > exit 0 > fi What about this instead? --- #!/bin/sh if type bash >/dev/null 2>&1 then # execute inside bash [ -z "$BASH" ] && exec bash $0 else echo '1..0 #SKIP skipping bash completion tests; bash not available' exit 0 fi --- -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html