Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #30 from davidjrice/preserve-env-vars

Preserve ENV vars CPATH and CPPPATH (composable buildpacks)
  • Loading branch information...
commit 51fd8ecd3c405567e1a49b778d6568b7827404ab 2 parents 9fe5546 + 537c16c
Zeke Sikelianos zeke authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/compile
4 bin/compile
View
@@ -171,8 +171,8 @@ cp "$VENDORED_NODE/bin/node" "$BUILD_DIR/bin/node"
# setting up paths for building
PATH="$VENDORED_SCONS:$VENDORED_NODE/bin:$PATH"
INCLUDE_PATH="$VENDORED_NODE/include"
-export CPATH="$INCLUDE_PATH"
-export CPPPATH="$INCLUDE_PATH"
+export CPATH="$INCLUDE_PATH:$CPATH"
+export CPPPATH="$INCLUDE_PATH:$CPPPATH"
# install dependencies with npm
echo "-----> Installing dependencies with npm"
Please sign in to comment.
Something went wrong with that request. Please try again.