Ticket #12637 (closed defect: fixed)
Follow-up to #4949: don't delete the current working directory
| Reported by: | jhpalmieri | Owned by: | GeorgSWeber |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-5.0 |
| Component: | build | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Jeroen Demeyer |
| Authors: | John Palmieri | Merged in: | sage-5.0.beta8 |
| Dependencies: | Stopgaps: |
Description (last modified by jhpalmieri) (diff)
On Solaris, running rm -rf DIR fails if DIR is in the path of the current working directory. This happens in sage-spkg, so the temporary build directories $SAGE_BUILD_DIR/$PKG_NAME don't get deleted. Fix this by running cd ... first.
Apply trac_12637-cd-before-rm.patch to the root repo.
Attachments
Change History
comment:1 Changed 15 months ago by jhpalmieri
- Status changed from new to needs_review
- Description modified (diff)
comment:2 Changed 15 months ago by jdemeyer
Could you just add a comment like
# On Solaris, the current working directory cannot be deleted, # so we "cd" out of $SAGE_BUILD_DIR/$PKG_NAME, see #12637.
comment:3 Changed 15 months ago by jhpalmieri
- Description modified (diff)
Done. (Also changed the name of the patch file to match the ticket number.)
Note: See
TracTickets for help on using
tickets.

