|
@@ -9,7 +9,7 @@ __bashum__lastrv() {
|
9
|
9
|
local rvfile # path to return value cache file
|
10
|
10
|
local lastrv # actual last return value
|
11
|
11
|
local do_rm # true if we should remove the cache
|
12
|
|
- rvfile="$RV_TMP/$$.lastrv"
|
|
12
|
+ rvfile="$BASHUM__RV_TMP/$$.lastrv"
|
13
|
13
|
lastrv="$(cat "$rvfile")"
|
14
|
14
|
do_rm=false
|
15
|
15
|
test "$1" == "-r" && do_rm=true
|
|
@@ -23,7 +23,7 @@ __bashum__lastrv() {
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
__bashum__save_rv() {
|
26
|
|
- local rvfile="$RV_TMP/$$.lastrv"
|
|
26
|
+ local rvfile="$BASHUM__RV_TMP/$$.lastrv"
|
27
|
27
|
[ -w "${rvfile%/*}" ] && echo "$1" > "$rvfile"
|
28
|
28
|
}
|
29
|
29
|
|