diff --git a/dkppc/rules/base_rules b/dkppc/rules/base_rules index 33f8c5b..5c9ae59 100644 --- a/dkppc/rules/base_rules +++ b/dkppc/rules/base_rules @@ -1,3 +1,15 @@ +#--------------------------------------------------------------------------------- +# change shell on Snow Leopard +#--------------------------------------------------------------------------------- +UNAME_S := $(shell uname -s) +UNAME_R := $(shell uname -r) + +ifneq (,$(findstring Darwin,$(UNAME_S))) + ifneq (,$(findstring 10.8.0,$(UNAME_R))) + export SHELL=/bin/bash + endif +endif + #--------------------------------------------------------------------------------- # path to tools #---------------------------------------------------------------------------------