aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-14 02:19:16 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-14 02:19:16 +0000
commit3b61ac0907e8aba0cf76f9e70a3dd3e5f1a9b262 (patch)
tree299169168f180e4495ed13c93bfd10bec64530aa /Makefile
parentb6e4b33cceecb76ca4118b3a18af39c21cfd371f (diff)
Build safe_asterisk script substituting the proper path in (bug #4952, patch not used)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6327 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 737ea8e98..e565d6b93 100755
--- a/Makefile
+++ b/Makefile
@@ -598,7 +598,7 @@ bininstall: all
install -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
install -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
- install -m 755 contrib/scripts/safe_asterisk $(DESTDIR)$(ASTSBINDIR)/ ;\
+ cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
fi
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
install -d $(DESTDIR)$(ASTHEADERDIR)