Portability fix, use the shells path for sed and env
authorJames Golovich <james@gnuinter.net>
Tue, 27 Apr 2004 21:30:32 +0000 (21:30 +0000)
committerJames Golovich <james@gnuinter.net>
Tue, 27 Apr 2004 21:30:32 +0000 (21:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
apps/Makefile
channels/Makefile
res/Makefile

index cf131e7..dcbea9d 100755 (executable)
--- a/Makefile
+++ b/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
index 13cad37..6973ba2 100755 (executable)
@@ -102,4 +102,4 @@ depend: .depend
        ../mkdep $(CFLAGS) `ls *.c`
 
 env:
-       /bin/env
+       env
index 66964ff..e47f369 100755 (executable)
@@ -187,5 +187,5 @@ depend: .depend
        ../mkdep $(CFLAGS) `ls *.c`
 
 env:
-       /bin/env
+       env
 
index c39f0ff..242a061 100755 (executable)
@@ -46,4 +46,4 @@ depend: .depend
        ../mkdep $(CFLAGS) `ls *.c`
 
 env:
-       /bin/env
+       env