Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

try moving alias move earlier in compile

  • Loading branch information...
commit 16f08cb0590d0f997122f311bd55c11bc44cffc6 1 parent d2437eb
@jacobb authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/compile
View
8 bin/compile
@@ -22,7 +22,7 @@ PCRE_VERSION='pcre-8.35'
source $BIN_DIR/utils
mkdir -p $BUILD_DIR/local
-
+cp $BIN_DIR/launch-nginx "$BUILD_DIR/local/sbin"
if [[ ! -d "$CACHE_DIR/$PYTHON_VERSION" ]]; then
cd $CACHE_DIR
puts-step "Installing Python ($PYTHON_VERSION)"
@@ -81,7 +81,7 @@ if [[ ! -d "$CACHE_DIR/$PCRE_VERSION" ]]; then
fi
puts-step "Installing nginx ($NGINX_VERSION)"
-# if [[ ! -d "$CACHE_DIR/$NGINX_VERSION" ]]; then
+if [[ ! -d "$CACHE_DIR/$NGINX_VERSION" ]]; then
cd $CACHE_DIR
curl http://nginx.org/download/$NGINX_VERSION.tar.gz -s | tar xz &> /dev/null
cd $NGINX_VERSION
@@ -93,7 +93,7 @@ puts-step "Installing nginx ($NGINX_VERSION)"
--without-http_proxy_module \
--with-http_gzip_static_module &> /dev/null
make -j2 &> /dev/null
-# fi
+fi
cd $CACHE_DIR/$NGINX_VERSION
make install &> /dev/null
@@ -106,5 +106,5 @@ if [[ ! -f $BUILD_DIR/nginx.conf.erb ]]; then
fi
cp $ROOT_DIR/conf/mime.types $BUILD_DIR/
-cp $BIN_DIR/launch-nginx "$BUILD_DIR/local/sbin"
+# cp $BIN_DIR/launch-nginx "$BUILD_DIR/local/sbin"
Please sign in to comment.
Something went wrong with that request. Please try again.