Skip to content

Commit

Permalink
Add python executable argument to the configure script #376
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Druez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Nov 30, 2018
1 parent b3e4d3b commit 6e57a07
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions configure
Expand Up @@ -21,7 +21,8 @@ fi

CONFIGURE_ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

python "$CONFIGURE_ROOT_DIR/etc/configure.py" $CFG_CMD_LINE_ARGS
if [ -f "$CONFIGURE_ROOT_DIR/bin/activate" ]; then
source $CONFIGURE_ROOT_DIR/bin/activate
if [[ "$PYTHON_EXE" == "" ]]; then
PYTHON_EXE=python
fi

$PYTHON_EXE "$CONFIGURE_ROOT_DIR/etc/configure.py" $CFG_CMD_LINE_ARGS

0 comments on commit 6e57a07

Please sign in to comment.