dev/provisioning/modules/puppi/files/scripts/execute.sh
author ymh <ymh.work@gmail.com>
Sat, 06 Aug 2016 21:29:33 +0700
changeset 261 02e2396bcbbc
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)

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