| Summary: | games-roguelike/nethack: incorrectly ignores cp return status | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | [OLD] Games | Assignee: | Mira Ressel <aranea> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | proxy-maint |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Luis sent out the updated ebuild and it's committed to the tree (as -r4). |
# preserve STATEDIR/{logfile,record} (previous ebuild rev mistakenly removes it) cp "${ROOT}/${STATEDIR}/"{logfile,record} "$T" # nonfatal This is just wrong. Check whether the file exists, then call cp, then die if cp fails.