#16157: git clean empty doc dirs
-------------------------------------------------+-------------------------
       Reporter:  vbraun                         |        Owner:
           Type:  defect                         |       Status:  closed
       Priority:  blocker                        |    Milestone:  sage-6.2
      Component:  documentation                  |   Resolution:  fixed
       Keywords:                                 |    Merged in:
        Authors:  Volker Braun                   |    Reviewers:  Ralf
Report Upstream:  N/A                            |  Stephan
         Branch:                                 |  Work issues:
  777064b111a639bbc5f7a6dd34824504d21f640b       |       Commit:
   Dependencies:  #16136                         |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by ohanar):

 Replying to [comment:9 leif]:
 > Or some flavour of
 > {{{
 > #!sh
 > find /path/to/root -depth -type d -exec rmdir -ps {} \;
 > }}}
 Probably
 {{{
 #!sh
 find /path/to/root -depth -type d -exec rmdir {} 2>/dev/null \;
 }}}
 would be more portable.

--
Ticket URL: <http://trac.sagemath.org/ticket/16157#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to