Return the proper status
This commit is contained in:
parent
f8af34cc64
commit
e55eb078f5
1 changed files with 3 additions and 0 deletions
|
|
@ -23,8 +23,11 @@ if [ "${BACKEND}" != "" ]; then
|
||||||
else
|
else
|
||||||
find "${WEBOOB_DIR}/weboob" "${WEBOOB_DIR}/modules" -name test.py | xargs nosetests -sv
|
find "${WEBOOB_DIR}/weboob" "${WEBOOB_DIR}/modules" -name test.py | xargs nosetests -sv
|
||||||
fi
|
fi
|
||||||
|
STATUS=$?
|
||||||
|
|
||||||
# safe removal
|
# safe removal
|
||||||
rm -r "${WEBOOB_TMPDIR}"/{icons,repositories,modules}
|
rm -r "${WEBOOB_TMPDIR}"/{icons,repositories,modules}
|
||||||
rm "${WEBOOB_TMPDIR}"/{backends,sources.list}
|
rm "${WEBOOB_TMPDIR}"/{backends,sources.list}
|
||||||
rmdir "${WEBOOB_TMPDIR}"
|
rmdir "${WEBOOB_TMPDIR}"
|
||||||
|
|
||||||
|
exit $STATUS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue