Small Makefile fix for safe_asterisk
authorMark Spencer <markster@digium.com>
Mon, 12 Jan 2004 03:19:25 +0000 (03:19 +0000)
committerMark Spencer <markster@digium.com>
Mon, 12 Jan 2004 03:19:25 +0000 (03:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1968 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 6ba98dc..2cca665 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -300,8 +300,8 @@ bininstall: all
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
        install -m 755 asterisk $(DESTDIR)$(ASTSBINDIR)/
        install -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
-       if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then
-               install -m 755 contrib/scripts/safe_asterisk $(DESTDIR)$(ASTSBINDIR)/
+       if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
+               install -m 755 contrib/scripts/safe_asterisk $(DESTDIR)$(ASTSBINDIR)/ ;\
        fi
        for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
        install -d $(DESTDIR)$(ASTHEADERDIR)