Fixed sources not loading in some cases

This commit is contained in:
斟酌 鵬兄 2022-08-15 20:02:04 +08:00
parent 25342c751f
commit afbbfee818

View File

@ -111,9 +111,10 @@ function rbash_cache {
}
_RBASH_LOADED=
if [ ! -d "$RBASH_SOURCES" ]; then
_RBASH_MERGE_START=1
mkdir -p "$RBASH_SOURCES"
if [ ! -f "$RBASH_SOURCES/merged" ]; then
_RBASH_MERGE_START=1
fi
function rbash_load {