diff --git a/bin/compile b/bin/compile index e21c7aa..0a9d5d5 100755 --- a/bin/compile +++ b/bin/compile @@ -106,6 +106,12 @@ else cp -r $CACHE_DIR/bin/* $BUILD_DIR/nginx/ fi +# Update the PATH +mkdir -p $BUILD_DIR/.profile.d +cat > $BUILD_DIR/.profile.d/nginx.sh <<"EOF" +export PATH="$PATH:$HOME/nginx" +EOF + cd $CUR_DIR # build nginx config unless overridden by user diff --git a/bin/release b/bin/release index ae45a02..8849bd3 100755 --- a/bin/release +++ b/bin/release @@ -5,8 +5,6 @@ cat <