Skip to content

Commit

Permalink
lightning: load build env after install python requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lvaccaro committed Apr 4, 2021
1 parent aadfb01 commit b71ff2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildlightning.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#! /bin/bash
set -eo pipefail

source ./buildenv.sh
REPOPATH=$PWD

# download lightning
Expand All @@ -14,6 +13,9 @@ python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

# load env vars
cd .. && source ./buildenv.sh && cd lightning

# provide generated config file instead run configure
cp ${REPOPATH}/lightning-header_versions_gen.h header_versions_gen.h
cp ${REPOPATH}/lightning-version_gen.h version_gen.h
Expand Down

0 comments on commit b71ff2c

Please sign in to comment.