osenv/scripts/osenv.sh

12 lines
134 B
Bash

#!/bin/sh
osenv() {
RES=$(osenv-bin $@)
if [ $? -eq 0 ]; then
eval $RES
else
echo $RES
fi
}
osenv $@