diff --git a/bin/compile b/bin/compile index eea3478..adc4a40 100755 --- a/bin/compile +++ b/bin/compile @@ -108,6 +108,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