Try to use INPUT_COMMAND variable while at actions mode.
This commit is contained in:
parent
4e1dc58611
commit
b4e9d9ec58
@ -6,4 +6,15 @@ echo "Launching command:"
|
|||||||
echo "$@"
|
echo "$@"
|
||||||
echo "----------"
|
echo "----------"
|
||||||
|
|
||||||
"$@"
|
CMD=$*
|
||||||
|
|
||||||
|
if [ "${CMD}" == "" ]; then
|
||||||
|
CMD="${INPUT_COMMAND}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${CMD}" == "" ]; then
|
||||||
|
echo "! No command to run!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
"${CMD}"
|
||||||
|
Loading…
Reference in New Issue
Block a user