#!/bin/bash
# This simple wrapper allowing us to pass a set of
# environment variables to be sourced prior to running
# another command. Used in the launch file for setting
# robot configurations prior to xacro.

ENVVARS_FILE=$1
shift 1

set -a
source $ENVVARS_FILE 
$@
