Portability fix, use the shells path for sed and env
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2787 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
bd44ffbbd0
commit
e199c677b1
4
Makefile
4
Makefile
|
@ -471,7 +471,7 @@ depend: .depend
|
|||
FORCE:
|
||||
|
||||
%_env:
|
||||
make -C $(shell echo $@ | /bin/sed "s/_env//g") env
|
||||
make -C $(shell echo $@ | sed "s/_env//g") env
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
env
|
||||
|
|
|
@ -102,4 +102,4 @@ depend: .depend
|
|||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
env
|
||||
|
|
|
@ -187,5 +187,5 @@ depend: .depend
|
|||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
env
|
||||
|
||||
|
|
|
@ -46,4 +46,4 @@ depend: .depend
|
|||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
env
|
||||
|
|
Reference in New Issue