rm/1
This commit is contained in:
parent
96ec535b83
commit
ad23eb5180
1 changed files with 3 additions and 4 deletions
|
@ -305,10 +305,9 @@ spcd_os_printenv() {
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_os_rm() {
|
spcd_os_rm() {
|
||||||
spcd_os_rm__path="${1}"
|
if [ -e "${1}" ]; then
|
||||||
if [ -e "${spcd_os_rm__path}" ]; then
|
echo "← ${1}"
|
||||||
echo "← ${spcd_os_rm__path}"
|
rm -r "${1}"
|
||||||
rm -r "${spcd_os_rm__path}"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue