Merged revisions 327888 via svnmerge from
authorJason Parker <jparker@digium.com>
Tue, 12 Jul 2011 19:39:04 +0000 (19:39 +0000)
committerJason Parker <jparker@digium.com>
Tue, 12 Jul 2011 19:39:04 +0000 (19:39 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r327888 | qwell | 2011-07-12 14:38:44 -0500 (Tue, 12 Jul 2011) | 1 line

  Fix uninstall target, so that modules dir gets cleared again.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@327889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 85149c9..fda7157 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -844,7 +844,7 @@ $(SUBDIRS_UNINSTALL):
        +@$(SUBMAKE) -C $(@:-uninstall=) uninstall
 
 _uninstall: $(SUBDIRS_UNINSTALL)
-       rm -f "$(DESTDIR)$(MODULES_DIR)/*"
+       rm -f "$(DESTDIR)$(MODULES_DIR)/"*
        rm -f $(DESTDIR)$(ASTSBINDIR)/*asterisk*
        rm -f $(DESTDIR)$(ASTSBINDIR)/astgenkey
        rm -f $(DESTDIR)$(ASTSBINDIR)/autosupport