dev/provisioning/modules/puppi/files/scripts/execute.sh
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 10 Jun 2016 23:42:11 +0200
changeset 186 36e5a67656e6
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
Basic thematiques styling

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