mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-10 18:01:15 +02:00
Fix unstub
cleanup process for failed stubs
This commit is contained in:
parent
9aab127f75
commit
c1f506dfd6
1 changed files with 4 additions and 1 deletions
|
@ -36,9 +36,12 @@ unstub() {
|
||||||
|
|
||||||
export "${prefix}_STUB_END"=1
|
export "${prefix}_STUB_END"=1
|
||||||
|
|
||||||
"$path"
|
local STATUS=0
|
||||||
|
"$path" || STATUS="$?"
|
||||||
|
|
||||||
rm -f "$path"
|
rm -f "$path"
|
||||||
rm -f "${TMP}/${program}-stub-plan" "${TMP}/${program}-stub-run"
|
rm -f "${TMP}/${program}-stub-plan" "${TMP}/${program}-stub-run"
|
||||||
|
return "$STATUS"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_fixture() {
|
install_fixture() {
|
||||||
|
|
Loading…
Reference in a new issue