spcd_eval
This commit is contained in:
parent
dd1a9ed807
commit
9972005755
1 changed files with 7 additions and 0 deletions
|
@ -247,6 +247,13 @@ nameserver ${value}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
spcd_eval() {
|
||||||
|
if [ -n "${1}" ]; then
|
||||||
|
echo "${@}"
|
||||||
|
eval "${@}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# ╭───────────┬───────╮
|
# ╭───────────┬───────╮
|
||||||
# │ functions │ error │
|
# │ functions │ error │
|
||||||
# ╰───────────┴───────╯
|
# ╰───────────┴───────╯
|
||||||
|
|
Loading…
Reference in a new issue