dev/provisioning/modules/puppi/files/scripts/execute.sh
author ymh <ymh.work@gmail.com>
Thu, 24 Nov 2016 19:08:36 +0100
changeset 446 2a93eb9f38f5
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
pb m3.22 - set correct filter when clicking on subject and language in notice

#!/bin/bash
# execute.sh - Made for Puppi
# This script just executes what is passed as argument

# Sources common header for Puppi scripts
. $(dirname $0)/header || exit 10

#parse variables
command=$(eval "echo "$*"")

#execute command
eval "${command}"