From d9177c1cde41a7cd64417396e8c9fc275df61c7e Mon Sep 17 00:00:00 2001 From: Florian Heinemann Date: Wed, 5 Nov 2014 09:41:18 -0500 Subject: [PATCH] Change cp for .conf --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index a5df010..364f8f0 100755 --- a/bin/compile +++ b/bin/compile @@ -82,8 +82,8 @@ make install rm -rf "nginx-${NGINX_VERSION}" -if [[ ! -f $BUILDDIR/nginx.conf.erb ]]; then - cp $BINDIR/../conf/nginx.conf.erb $BUILDDIR/nginx.conf.erb +if [[ ! -f $BUILDDIR/nginx.conf ]]; then + cp $BINDIR/../conf/nginx.conf $BUILDDIR/nginx.conf fi if [[ ! -f $BUILDDIR/mime.types ]]; then