Commit cea768e6 by Eric Coissac

add a new getbasetmpdir function

parent f041e1ca
Pipeline #8 skipped
......@@ -564,6 +564,12 @@ and the return status is set to *1* instead of *0* usually.
registertmpdir <DIRPATH>
```
#### getbasetmpdir
```{shell}
getbasetmpdir
```
#### tempdirectory
```{shell}
......
......@@ -71,6 +71,10 @@ function registertmpdir() {
pushvalue __LECABASHLIB_BASETMPDIRSTACK__ "${1}"
}
function getbasetmpdir() {
echo "${__LECABASHLIB_BASETMPDIRSTACK__[*]}"
}
function tempdirectory() {
local minsize="0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment