10 lines
95 B
Bash
10 lines
95 B
Bash
|
#!/bin/bash
|
||
|
ENV_FILE="$1"
|
||
|
CMD=${@:2}
|
||
|
|
||
|
set -o allexport
|
||
|
source $ENV_FILE
|
||
|
set +o allexport
|
||
|
|
||
|
$CMD
|