Ignore:
Timestamp:
Jan 8, 2018 6:16:45 AM (7 years ago)
Author:
ming
Message:

Re #2059 (misc): sudo make uninstall: Remove ignored failures

Thanks to Alexander Traud for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/Makefile

    r4877 r5722  
    137137uninstall: 
    138138        $(RM) $(DESTDIR)$(libdir)/pkgconfig/libpjproject.pc 
    139         -rmdir $(DESTDIR)$(libdir)/pkgconfig 2> /dev/null 
     139        rmdir $(DESTDIR)$(libdir)/pkgconfig 2> /dev/null || true 
    140140        for d in pjlib pjlib-util pjnath pjmedia pjsip; do \ 
    141141                for f in $$d/include/*; do \ 
     
    143143                done; \ 
    144144        done 
    145         -rmdir $(DESTDIR)$(includedir) 2> /dev/null 
     145        rmdir $(DESTDIR)$(includedir) 2> /dev/null || true 
    146146        $(RM) $(addprefix $(DESTDIR)$(libdir)/,$(notdir $(APP_LIB_FILES))) 
    147         -rmdir $(DESTDIR)$(libdir) 2> /dev/null 
     147        rmdir $(DESTDIR)$(libdir) 2> /dev/null || true 
Note: See TracChangeset for help on using the changeset viewer.