mv
This commit is contained in:
parent
161dd791f0
commit
5bc53b317c
1 changed files with 10 additions and 10 deletions
20
spcd/main.sh
20
spcd/main.sh
|
@ -229,6 +229,16 @@ spcd_os_mkdir() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
spcd_os_printenv() {
|
||||||
|
if [ -n "${1}" ]; then
|
||||||
|
for spcd_os_printenv__name in "${@}"; do
|
||||||
|
spcd_os_printenv__text=""
|
||||||
|
eval "spcd_os_printenv__text=\"\${${spcd_os_printenv__name}}\""
|
||||||
|
echo "${spcd_os_printenv__name} = \"${spcd_os_printenv__text}\""
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
spcd_os_rm() {
|
spcd_os_rm() {
|
||||||
spcd_os_rm__path="${1}"
|
spcd_os_rm__path="${1}"
|
||||||
if [ -e "${spcd_os_rm__path}" ]; then
|
if [ -e "${spcd_os_rm__path}" ]; then
|
||||||
|
@ -1085,16 +1095,6 @@ spcd_cat() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_os_printenv() {
|
|
||||||
if [ -n "${1}" ]; then
|
|
||||||
for spcd_os_printenv__name in "${@}"; do
|
|
||||||
spcd_os_printenv__text=""
|
|
||||||
eval "spcd_os_printenv__text=\"\${${spcd_os_printenv__name}}\""
|
|
||||||
echo "${spcd_os_printenv__name} = \"${spcd_os_printenv__text}\""
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_install_package() {
|
spcd_install_package() {
|
||||||
spcd_install_package__name="${1}"
|
spcd_install_package__name="${1}"
|
||||||
if [ -n "${spcd_install_package__name}" ]; then
|
if [ -n "${spcd_install_package__name}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue