aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-12 04:06:52 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-12 04:06:52 +0000
commitf6e341b9c32bf3c66f3ac5239abe572261cb2854 (patch)
treef43bb1ed3464400b7b0d09d7805a06732667afba /Makefile
parentc05f5017eb8ec624b951d4d9a818029fd9c6cc5d (diff)
Fix permissions on safe_asterisk (bug #5193)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6564 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index caca64f01..daffa8fc9 100755
--- a/Makefile
+++ b/Makefile
@@ -583,6 +583,7 @@ bininstall: all
install -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
+ chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
fi
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
install -d $(DESTDIR)$(ASTHEADERDIR)