28
|
1 |
#!/bin/bash |
|
2 |
# execute.sh - Made for Puppi |
|
3 |
# This script just executes what is passed as argument |
|
4 |
|
|
5 |
# Sources common header for Puppi scripts |
|
6 |
. $(dirname $0)/header || exit 10 |
|
7 |
|
|
8 |
#parse variables |
|
9 |
command=$(eval "echo "$*"") |
|
10 |
|
|
11 |
#execute command |
|
12 |
eval "${command}" |