dev/provisioning/modules/puppi/files/scripts/execute.sh
author nowmad@23.1.168.192.in-addr.arpa
Wed, 20 Jan 2016 15:53:27 +0100
changeset 90 f0609941aa98
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
update libraries and go ember 2.2.0

#!/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}"