1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-29 03:43:05 +00:00

Syntax error for Bash

This commit is contained in:
Dennis Martinez 2016-04-27 15:34:27 +09:00
parent 3a20517687
commit 640f6d396a

View File

@ -125,7 +125,7 @@ if [ -f $BUILD_DIR/nginx.conf.erb ] ; then
# Dokku 0.5.0+ uses nginx.conf.sigil for customizing the # Dokku 0.5.0+ uses nginx.conf.sigil for customizing the
# Nginx configuration, so let's check if it exists # Nginx configuration, so let's check if it exists
if [ -f $BUILD_DIR/nginx.conf.sigil ] ; then elif [ -f $BUILD_DIR/nginx.conf.sigil ] ; then
echo "-----> using user provided nginx.conf.sigil" echo "-----> using user provided nginx.conf.sigil"
cp $BUILD_DIR/nginx.conf.sigil $BUILD_DIR/nginx/nginx.conf.sigil cp $BUILD_DIR/nginx.conf.sigil $BUILD_DIR/nginx/nginx.conf.sigil