Portability fix, use the shells path for sed and env
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
286d0656e2
commit
6cbc92b760
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
|
||||
|
|
Loading…
Reference in New Issue