horizon/tools/with_venv.sh

6 lines
95 B
Bash

#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.dashboard-venv
source $VENV/bin/activate && $@